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



On 2013-03-10 01:23, Johnny Rosenberg wrote:
2013/3/9 Steve Edmonds <steve.edmonds@ptglobal.com>:
Hi.
If I type or paste $2,441.99 into a cell in calc (3.6) it is left aligned.
If I right click format cell it states number-general.
If I divide it by 2 I get #value!

How do I get LO to recognise this as a number. I found a long winded way,
format it as currency and remove the ' that LO puts in front.
Steve
I think a macro could do that for you and I was even thinking of
writing one, but if it should be useful no matter what locale settings
you have, the macro needs to know things like decimal- and thousands
separator (for example in my country we use space for thousands
separator and comma for decimal separator, which is quite different
from yours). I am sure it's possible but still searching…


Johnny Rosenberg
Thanks Johnny
I thought easy enough with regexp but noticed that there are instructions on how to do it in excel so thought LO might too.
Steve


--
For unsubscribe instructions e-mail to: users+help@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.