・The decimal part is rounded toward zero.
・The result is an Int type.
The underlying numeric value
Number converted to Int
FLOOR: Round down, ROUND: Round off, CEIL: Round up
・The result is a Real type.
The underlying numeric value
Number converted to Real type
INT:Integerization (Round toward zero)
・Get the largest Int that does not exceed that number (floor function).
・FLOOR(12.5) is 12, FLOOR(-12.5) is -13.
・The result is all zeros after the decimal point, but it is a Real type.
The underlying numeric value
The value with the fractional part rounded down
INT:Integerization (Round toward zero), ROUND: Round off, CEIL: Round up
A=FLOOR(12.345)
・The result is all zeros after the decimal point, but it is a Real type.
・ROUND(12.5) is 13, ROUND(-12.5) is -13.
The underlying numeric value
The value with the fractional part rounded off
INT:Integerization (Round toward zero), FLOOR: Round down, CEIL: Round up
A=ROUND(12.345)
・Get the smallest Int that does not fall below that number (ceiling function).
・CEIL(12.5) is 13, CEIL(-12.5) is -12.
・The result is all zeros after the decimal point, but it is a Real type.
The underlying numeric value
The value with the fractional part rounded off
INT:Integerization (Round toward zero), ROUND: Round off, FLOOR: Round down
A=CEIL(12.345)
Numeric value for obtaining absolute value
Absolute value
A=ABS(-12.345)
Numeric value to get sign
Returns either 1, 0 or -1 depending on the sign of the argument
1 | Positive Value |
0 | 0 |
-1 | Negative Value |
A=SGN(12.345)
Numeric array for checking minimum value
Smallest number in numeric array
DIM TMP[2]=[50,3] A=MIN(TMP)
Arrange the numerical value whose minimum value is to be examined as argument
Smallest number of arguments passed
A=MIN(1,2,3,4)
Numeric array to get the maximum value
Largest number in the numeric array
DIM TMP[2]=[50,3] A=MAX(TMP)
Arrange the numerical value whose maximum value is to be examined as argument
The largest number of arguments passed
A=MAX(1,2,3,4)
Random number series: 0 to 7
Maximum number of random numbers to get
A random Int between 0 and the maximum value -1.
A=RND(100)
Random number series: 0 to 7
A random Real number between 0 and 1
A=RNDF()
Type of random number series: 0 to 7
An Int value that selects a random number sequence
・The order of the values returned by RND and RNDF is determined by the seed value.
・If 0 is specified, the available entropy information is used as the seed value.
・If not specified, it's 0.
RANDOMIZE 0
Numeric value for obtaining the square root
The calculated square root
A=SQR(4)
Index number
・If not specified, the constant #EXP is returned.
The calculated result
A=EXP(2)
Numeric value for calculating power
Power multiplier
The calculated result
A=POW(1,4)
True number: Positive Real
Base: Positive Real
・If not specified, the natural logarithm is calculated.
The calculated result
A=LOG(2,2)
・It can be used in constant expressions.
Angle in degrees
Angle in radians
R=RAD(45)
・It can be used in constant expressions.
Angle in radians
Angle in degrees
A=DEG(0.5*#PI)
Angle in radians
The calculated sine value
A=SIN(RAD(45))
Angle in radians
The calculated cosine value
A=COS(RAD(45))
Angle in radians
The calculated tangent value
A=TAN(RAD(45))
-1.0 to 1.0
The calculated angle (in radians)
A=ASIN(0)
-1.0 to 1.0
The calculated angle (in radians)
A=ACOS(1)
Numeric value to calculate the angle
The calculated angle (in radians)
A=ATAN(1)
Coordinate value to calculate the angle
・The direction from the origin is calculated as an angle.
・Pay attention to the order of arguments.
The calculated angle (in radians)
A=ATAN(1,1)
Numeric value to calculate the hyperbolic sine
The calculated hyperbolic sine
A=SINH(1)
Numeric value to calculate the hyperbolic cosine
The calculated hyperbolic cosine
A=COSH(1)
Numeric value to calculate the hyperbolic tangent
The calculated hyperbolic tangent
A=TANH(0.5)
Number to check
0 | Normal Value |
1 | Infinity |
2 | NaN |
A=CLASSIFY(0.5)