is_real() (Game Maker)
( Game Maker 6.1, 7 )
is_real - returns true if its argument is a real number.
Description
bool = is_real ( test )
- bool - returned true/false value
- test - the value to test.
Examples
this_is_real = 42;
if(is_real(this_is_real)){
room_caption = "It's a real number";
}else{
room_caption = "It's not a real number";
}
Related Pages
page revision: 14, last edited: 07 Jul 2012 16:11