MathCeil

2019/07/17 19:00
68

double MathCeil( double x)

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

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

コメント