Problem with writing real numbers