StauffConsulting.Essentials.

NumUtils

C#: 
public sealed abstract class NumUtils :
    object

VB: 
Public NotInheritable MustInherit Class NumUtils
    Inherits Object

Type Ancestry:  Object
+---NumUtils


Utilities for dealing with numbers.

Summary Info

Constructor Summary

Field Summary

Property Summary

Method Summary

LexDigits
ToString Converts an integer to a string, using specified digit characters.
ToString Converts an integer to a string, using specified digit characters.
TryParse
TryParse
TryParse
TryParse
TryParse
TryParse
TryParse
TryParse

Miscellany Summary

Method Details


LexDigits

C#: 
static String LexDigits(System.String& input,
    bool allowLeadingMinus)

VB: 
Shared Function LexDigits(ByVal input As System.String&, ByVal allowLeadingMinus As Boolean) As [String]

Parameters

input  
allowLeadingMinus  


ToString

C#: 
static String ToString(int n,
    string digits)

VB: 
Shared Function ToString(ByVal n As Integer, ByVal digits As String) As [String]

Converts an integer to a string, using specified digit characters.

Parameters

n   the value to be converted
digits   the digits; the radix is implied by the length of the string


ToString

C#: 
static String ToString(long n,
    string digits)

VB: 
Shared Function ToString(ByVal n As Long, ByVal digits As String) As [String]

Converts an integer to a string, using specified digit characters.

Parameters

n   the value to be converted
digits   the digits; the radix is implied by the length of the string


TryParse

C#: 
static Boolean TryParse(System.String& input,
    System.Int32& value)

VB: 
Shared Function TryParse(ByVal input As System.String&, ByVal value As System.Int32&) As [Boolean]

Parameters

input  
value  


TryParse

C#: 
static Boolean TryParse(System.String& input,
    System.UInt64& value)

VB: 
Shared Function TryParse(ByVal input As System.String&, ByVal value As System.UInt64&) As [Boolean]

Parameters

input  
value  


TryParse

C#: 
static Boolean TryParse(System.String& input,
    System.Int16& value)

VB: 
Shared Function TryParse(ByVal input As System.String&, ByVal value As System.Int16&) As [Boolean]

Parameters

input  
value  


TryParse

C#: 
static Boolean TryParse(System.String& input,
    System.Int64& value)

VB: 
Shared Function TryParse(ByVal input As System.String&, ByVal value As System.Int64&) As [Boolean]

Parameters

input  
value  


TryParse

C#: 
static Boolean TryParse(System.String& input,
    System.SByte& value)

VB: 
Shared Function TryParse(ByVal input As System.String&, ByVal value As System.SByte&) As [Boolean]

Parameters

input  
value  


TryParse

C#: 
static Boolean TryParse(System.String& input,
    System.Byte& value)

VB: 
Shared Function TryParse(ByVal input As System.String&, ByVal value As System.Byte&) As [Boolean]

Parameters

input  
value  


TryParse

C#: 
static Boolean TryParse(System.String& input,
    System.UInt32& value)

VB: 
Shared Function TryParse(ByVal input As System.String&, ByVal value As System.UInt32&) As [Boolean]

Parameters

input  
value  


TryParse

C#: 
static Boolean TryParse(System.String& input,
    System.UInt16& value)

VB: 
Shared Function TryParse(ByVal input As System.String&, ByVal value As System.UInt16&) As [Boolean]

Parameters

input  
value  


generated by DocGenDotNet on 18 Nov 2008 6:35:01 PM