-
Notifications
You must be signed in to change notification settings - Fork 16
Sys.ToFloat
boxgaming edited this page Jul 11, 2026
·
1 revision
Converts a value to a floating-point number.
Available in release 0.11.0
result = Sys.ToFloat ( value )
- The value parameter specifies the value to convert.
Import Sys From "lib/lang/system.bas"
Dim myVar As String
myVar = "38.45"
Print Sys.TypeOf(myVar)
myVar = Sys.ToFloat(myVar)
Print myVar
Print Sys.TypeOf(myVar)string
38.45
number