Decimal from string

Blitz3D Forums/Blitz3D Beginners Area/Decimal from string

Fernhout(Posted 2007) [#1]
How do i get a number thats in a string to a integer variable
e.g.
STR_Number$ = "123"
to
INT_Figure = 123

Normal there is a command for it. Like VAL(STRING)
but i can not find it in Blitz.


Sledge(Posted 2007) [#2]
Int.


b32(Posted 2007) [#3]
or INT_Figure = "123"


jfk EO-11110(Posted 2007) [#4]
There's automatic type conversion in Blitz.


Fernhout(Posted 2007) [#5]
Thanks for the tip.