Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javaScript Math.trunc()

Math.trunc(4.9);
Math.trunc(4.7);
Math.trunc(4.4);
Math.trunc(4.2);
Math.trunc(-4.2);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javaScript
ADD COMMENT
Topic
Name
4+5 =