MathFloor

2019/07/17 19:00
72

double MathFloor( double x)

MathFloor関数はxより小さく最も大きい整数を返す

Parameters:
x - 数値
Sample:
double y;
y=MathFloor(2.8);
Print("The floor of 2.8 is ",y);
y=MathFloor(-2.8);
Print("The floor of -2.8 is ",y);
/Output:
The floor of 2.8 is 2
The floor of -2.8 is -3
/

コメント