Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

numbers Math

const eightAndAHalf = 8.5;

Number.isInteger(eightAndAHalf); // false
Number.isInteger(Math.floor(eightAndAHalf)); // true
Source by practicum.yandex.com #
 
PREVIOUS NEXT
Tagged: #numbers #Math
ADD COMMENT
Topic
Name
6+6 =