Internal Functions
Use Internal Functions
List
len(<list>)
==> Return the number of element in the list given in argumentintToFloat(i: Int)
==> Convert the int given in argument into a floatfloatToInt(f: Float)
==> Convert the float given in argument into an intstringToInt(s: String)
==> Convert the string given in argument into an int if one is foundintToString(i: Int)
==> Convert the int given in argument into a stringintToBool(i: Int)
==> Convert the int given in argument into a booleanfloatToString(f: Float)
==> Convert the float given in argument into a string
Exemples:
len([1,2,3,4,5])
=> 5
len([])
=> 0
intToFloat(42)
=> 42.0
stringToInt("42")
=> 42
stringToInt("42")
=> 42
intToString(42)
=> "42"
intToBool(42)
=> true
intToBool(0)
=> false
floatToString(42.6)
=> "42.6"
Last updated
Was this helpful?