CJCoding With Joseph

Print a Rounded-Down Number

Use Math.floor() to round 4.9 DOWN to the nearest whole number and print it so the output is exactly:

4

Expected Output:

4
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.