LearnPy Hub
← Modules & the Standard Library problems
Easy

Round Toward Zero

Read a decimal number and print math.trunc() of it.

Input

One number.

Output

One integer.

Sample 1

Input
4.9
Output
4

Sample 2

Input
-4.9
Output
-4
solution.py
Output appears here
Round Toward Zero · Python practice problem · LearnPy Hub