Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Math.ceil

console.log(Math.ceil(5.95)); // output: 6

console.log(Math.ceil(-11.23)); // output: -11

console.log(Math.ceil(9.78)); // output: 10
Source by devswisdom.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+2 =