92 atcoder#ABC226A. [ABC226A] Round decimals
[ABC226A] Round decimals
Score : points
Problem Statement
You are given a real number , which is representable using at most three decimal digits, with three decimal digits. Round to the nearest integer and print the result.
Constraints
- is representable using at most three decimal digits.
- has three decimal digits in input.
Input
Input is given from Standard Input in the following format:
Output
Print the integer resulting from rounding to the nearest integer.
3.456
3
The digit in the first decimal place of is , so we should round it down to .
99.500
100
0.000
0