A science teacher instructs students to
round their measurements as follows: If a number is
less than 0.5 of a millimeter, students are instructed to
round down. If a number is exactly 0.5 or greater,
students are told to round up to the next millimeter.
Write a formula that takes a measurement x
millimeters and yields the rounded off number.