[Solved] Removing a Decimal point after a Number

Discuss the spreadsheet application
Post Reply
Zen1
Posts: 2
Joined: Wed Mar 24, 2021 2:24 pm

[Solved] Removing a Decimal point after a Number

Post by Zen1 »

Hi

I have a number of individual cells with values like 5.39. , 4.79. 3.76. etc etc
I wish to remove the second decimal point after the number for all cells and other than find and replace for all of
the different figures (too many) I can't figure this one out.

Any help much appreciated
Last edited by robleyd on Thu Mar 25, 2021 8:53 am, edited 1 time in total.
Reason: Tagged [Solved]; add green tick
OpenOffice 4 on Windows 10
User avatar
JohnSUN-Pensioner
Volunteer
Posts: 876
Joined: Fri Jan 14, 2011 1:21 pm
Location: Kyiv, Ukraine

Re: Removing a Decimal point after a Number

Post by JohnSUN-Pensioner »

Try format cells as number to prevent autoconvert data to dates and use Edit-Find&Replace with Search for `\.$` ("dot at the end of string"), empty Replace with and Regular expressions `ON`
Find last dot.png
I may not have a lot to give but what I got I'll give to you...
Apache OpenOffice 4.1.5, LibreOffice 6.4.4.2 (x64) on Windows 7
If you think that I did not answer your question, make allowances for my imperfect English
Zen1
Posts: 2
Joined: Wed Mar 24, 2021 2:24 pm

Re: Removing a Decimal point after a Number

Post by Zen1 »

Worked a treat.

Thankyou so much
OpenOffice 4 on Windows 10
Post Reply