Error catching when floats are written without decimals.