프로퍼티 | 타입 | 설명 | |
---|---|---|---|
UnifiedNumberFormat |
메소드 | 설명 | |
---|---|---|
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 ToFloatUnchecked ( this text ) : float | ||
text | this | Raw string. |
리턴 | float |
public static ToStringFast ( this data ) : string | ||
data | this | Data. |
리턴 | string |
public static ToStringWithSuffix ( this data, int digitsAfterPoint = 2 ) : string | ||
data | this | Source number. |
digitsAfterPoint | int | Digits after floating point. |
리턴 | string |