Class NumberFormatter
Inheritance
System.Object
NumberFormatter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Sys
Assembly: SIPSorcery.dll
Syntax
public class NumberFormatter
Methods
| Improve this Doc View SourceToSIBitFormat(Double, Int32)
Declaration
public static string ToSIBitFormat(double number, int decimalPlaces)
Parameters
Type | Name | Description |
---|---|---|
System.Double | number | |
System.Int32 | decimalPlaces |
Returns
Type | Description |
---|---|
System.String |
ToSIByteFormat(Double, Int32)
Declaration
public static string ToSIByteFormat(double number, int decimalPlaces)
Parameters
Type | Name | Description |
---|---|---|
System.Double | number | |
System.Int32 | decimalPlaces |
Returns
Type | Description |
---|---|
System.String |
ToSIFormat(Double, Int32)
Declaration
public static string ToSIFormat(double number, int decimalPlaces)
Parameters
Type | Name | Description |
---|---|---|
System.Double | number | |
System.Int32 | decimalPlaces |
Returns
Type | Description |
---|---|
System.String |