Skip to content
C

Truncate a Decimal

Easyjava

Read a decimal number and print the result of casting it to int (the fractional part is dropped, moving toward zero).

Input: one decimal number (may be negative).

Output: one line — the value after (int) casting.

Input (stdin)

Output

Run your code to see output here...