Mega Code Archive

 
Categories / Perl / Data Type
 

Using int() to convert 1 99999 to an integer

$x = 1.99999; print int($x);