Float
Library of functions for the float type.
Functions
From
Builds a float from a number or string.
Syntax:
Float.From(value: number or string)
Parameters
value
: The value to convert to float.
Returns
float
: The float representation of the value.
Example:
Float.From(1)
// Result:
// 1.0f
Float.From("1")
// Result:
// 1.0f
Float.From(1.5)
// Result:
// 1.5f