Fix a bug in the placing of the decimal point
Add a text updates test.