CEILING intrinsic function
Standard: F77 F90 F95 F2003 F2008 F2018 Example program
<Syntax>
CEILING ( A [ , KIND ] )
A : Real;
KIND : scalar Integer constant expression;
Result : Integer or Integer(Kind=KIND).
<Semantics>
The value of the result is the smallest integer greater than or equal to A. Like many intrinsic functions, this is elemental; the result has the same shape as A, with the operation being applied elementwise.
<Related>
AINT intrinsic function, ANINT intrinsic function, FLOOR intrinsic function, INT intrinsic function, NINT intrinsic function