Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Am 08.10.2015 um 03:24 schrieb Yudi Wijaya:
Dear Andreas,
First of all.. thank you for your reply :-D

Your 1st method doesn't work (turn on special number), you're right.. the
datas are too bad.

Your 2nd method almost works.. but i think need some modification
Search: ^\s*\(([[:digit:].]+)\s*%\s*\)\s*$
Replace: $1%

I tested it, if the data is (25.24 % ) will replace it with 25.24%
The problem is LibreOffice only recoqnize 25,24% instead 25.24% (so must
use "," than ".")
For example if i change the data into (25 % ), then your regular expression
correct.

Do you know how to replace . (dot) with , (comma) ?

I already tried use English (UK) but can not

Thanks!

Best Regards,

The currency comes with comma as thousands separator. This would be in
conflict with any comma as decimal separator.
I would not handle this mess with spreadsheets. First I would blame the
creator of this ugly shit. Ask for clean text data with no leading and
trailing spaces, currency symbols "Rp" in extra columns and proper
numerals. If this is not an option, I would write a simple script to
clean up the mess.


-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.