Number recognition
If number recognition is turned on, when you type a number in a table, Writer aligns it to the right of the cell and strips off any trailing zeros. For example, 4.0 is changed to 4 and aligned to the right.
To turn number recognition on or off, right-click on the table and select Number Recognition in the pop-up menu.