https://emily.shillest.net/ayaya/index.php?マニュアル/関数/TOINT
TOINT(string)
_i = '100' // Assign a string _j = _i + 1 _j // The string "1001" is output. _i = '100' // Assign a string _j = TOINT( _i ) + 1 // Convert to an integer _j // The integer 101 is output
_i = 1.1 // Assign a real number _j = TOINT( _i ) _j // The integer 1 is output _i = -1.1 // What about negative values? _j = TOINT( _i ) _j // The integer -1 is output ※From Tc542-4 onwards
Last modified on: 2012-08-22 (Wednesday) 20:49:48
|