Answers for "java script 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
2

js int

var myInt = 69420

1+1//int
1+"1"//string
Posted by: Guest on April-09-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language