+ 3
PLEASE HELP !! How can I get output in integer (without point) in Java script??
Output in integer form after dividing with any number?? EXAMPLE: 31 / 5 = 6.2 But how can I get only 6?? 31 / 5 = 6 I mean without the numbers after point??
1 Réponse
+ 2
Try this
Math.floor( 31/5 )