Answers for "js convert double to int"

0

js convert double to int

var num = 2.9
console.log(parseInt(num, 10)); // 2
Posted by: Guest on December-22-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language