2013/3/9 Tom Davies <tomdavie...@yahoo.co.uk>: > Hi :) > I think you might be over-complicating it? Just typign the number in as a > number and letting the formatting do it's magic seems a much easier route!
Well, I don't know what the OP usually does, but maybe he goes to a website somewhere, highlight a a table or something and then paste it into calc? Of course he could then do a Search/Replace to get rid of the thousands separator and the dollar sign, and form there it is probably quite a lot easier to do the rest. But it feels like that's at least one step too much… It's easy to create a macro that does all the necessary Search/Replace steps in one single step, though. Johnny Rosenberg > Regards from > Tom :) > > > > ________________________________ > From: Johnny Rosenberg <gurus.knu...@gmail.com> > To: LibreOffice Användare <users@global.libreoffice.org> > Sent: Saturday, 9 March 2013, 12:54 > Subject: Fwd: [libreoffice-users] Currency conversion/display in calc > > Same mistake as usual, sending my replies privately. I will never > learn, I'm quite sure of that now… > > Anyway, here it is again, to the list this time: > > > ---------- Forwarded message ---------- > From: Johnny Rosenberg <gurus.knu...@gmail.com> > Date: 2013/3/9 > Subject: Re: [libreoffice-users] Currency conversion/display in calc > To: Steve Edmonds <steve.edmo...@ptglobal.com> > > > 2013/3/9 Steve Edmonds <steve.edmo...@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 > > -- > For unsubscribe instructions e-mail to: users+h...@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 > > -- For unsubscribe instructions e-mail to: users+h...@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