Rewrote integers and floats according to specification