size=150Floor, Ceiling function/size
Version 5.2.16 and higher
The CEILING function is used to round a number upwards to the nearest multiple of a specified value.
The FLOOR function is used to round a number downwards to the nearest multiple of a specified value.
If you use Floor/Ceiling function with one parameter, second parameter is automatically used = 1.
ubSyntax:/b/u
double Result = Floor(double X);
double Result = Floor(double X, double Y);
double Result = Ceiling(double X);
double Result = Ceiling(double X, double Y);
See attached example for more info.
Floor, Ceiling function
Floor, Ceiling function
- Attachments
-
- FloorCeiling.cls
- (22.85 KiB) Downloaded 399 times
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Return to “Design forms features”
Who is online
Users browsing this forum: No registered users and 0 guests