js convert double to int

Solutions on MaxInterview for js convert double to int by the best coders in the world

showing results for - "js convert double to int"
Adrianne
10 Jun 2016
1var num = 2.9
2console.log(parseInt(num, 10)); // 2