Class ParseUtils.Float
Utility class for parsing float values
Inherited Members
Namespace: Serenity.Shared.Utils
Assembly: Serenity.Shared.dll
Syntax
public static class ParseUtils.Float
Methods
Parse(string)
Parses a string value into a float.
Declaration
public static float Parse(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The string value to parse. |
Returns
| Type | Description |
|---|---|
| float | The parsed float value. |
ToString(float)
Converts a float value to its string representation using invariant culture.
Declaration
public static string ToString(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value | The float value to convert. |
Returns
| Type | Description |
|---|---|
| string | The string representation of the float value. |