Snapi Language ReferenceBuilt-in LibrariesFloatOn this pageFloatLibrary of functions for the float type.FunctionsFromBuilds a float from a number or string.Syntax:Float.From(value: number or string)Parametersvalue: The value to convert to float.Example:Float.From(1) // 1.0fFloat.From("1") // 1.0fFloat.From(1.5) // 1.5f