Number.ceil MethodReturns the smallest integer greater than or equal to the number.object.ceil() Arguments
Return ValueThe Number.ceil() method returns the smallest integer greater than or equal to the number.RemarksThe following example illustrates the use of the Number.ceil method.Console.Writeln((-45.2).ceil()); // Outputs -45 to the Console. Requirements |