Class NumberConverter
Namespace: Unity.Tiny.Utils
Syntax
public static class NumberConverter
Methods
DoubleToString(Double, UInt32)
Declaration
public static string DoubleToString(double value, uint precision = 3U)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | value | |
| UInt32 | precision |
Returns
| Type | Description |
|---|---|
| String |
FloatToString(Single, UInt32)
Declaration
public static string FloatToString(float value, uint precision = 3U)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | value | |
| UInt32 | precision |
Returns
| Type | Description |
|---|---|
| String |