+ 1

Can you perform floor division in JavaScript

Am try to create an app that requires it to perform floor division, but I don't how or if it can be done in JavaScript

21st Mar 2020, 2:50 PM
Emmanuel Unkn
2 Answers
+ 2
Math.floor(number);
21st Mar 2020, 3:17 PM
Avinesh
Avinesh - avatar
0
Thanks Avinesh
21st Mar 2020, 3:19 PM
Emmanuel Unkn