Property | Type | Description | |
---|---|---|---|
UnifiedNumberFormat |
Method | Description | |
---|---|---|
ToFloat ( this text ) : float |
Convert string to float.
|
|
ToFloatUnchecked ( this text ) : float |
Fast convert string to float. Fast, no GC allocation, no support for scientific format.
|
|
ToStringFast ( this data ) : string |
Convert float number to string. Fast, no support for scientific format.
|
|
ToStringWithSuffix ( this data, int digitsAfterPoint = 2 ) : string |
Convert number to string with "kilo-million-billion" suffix with rounding.
|
public static ToFloat ( this text ) : float | ||
text | this | Source string. |
return | float |
public static ToFloatUnchecked ( this text ) : float | ||
text | this | Raw string. |
return | float |
public static ToStringFast ( this data ) : string | ||
data | this | Data. |
return | string |
public static ToStringWithSuffix ( this data, int digitsAfterPoint = 2 ) : string | ||
data | this | Source number. |
digitsAfterPoint | int | Digits after floating point. |
return | string |