Powered by
Uhh depends on how you get the number. But you can...
# e2e-testing
m
mysterious-belgium-25713
11/22/2022, 6:23 PM
Uhh depends on how you get the number. But you can do a parseint. Or try this trick but both tricks are just plain JavaScript
Copy code
js var num = 2.9 console.log(num | 0); // 2
Previous
Next