real( ) (Game Maker)
real()
( Game Maker 6.1, 7 )
real - convert a string to a real number
Description
rnumb = real ( str )
- rnumb - the returned real number
- str - the string to convert
real() converts a string into a real number.
Examples
my_number = "42";
converted_number = real(my_number);
Related Pages
- is_real() - check to see if a value is a real number.
- is_string() - check to see if a value is a string.
- string() - convert a real number to a string.
Similar To
page revision: 17, last edited: 06 May 2015 00:45