I can remember doing some work on a German site and I wasn't very up to speed on my German ( mainly coz i learned street German, chatting up girls and drinking beer!) and i just couldn't figure out why every time i entered 10.99 into the database it would come out as 1099. then finally i realised about the damn comma instead of the period thing!
z On Wed, Jul 9, 2008 at 2:35 PM, Barry Beattie <[EMAIL PROTECTED]> wrote: > > @Scott > > Zac has the correct/official way of doing what you want: > > from livedocs on LSParseCurrency: > > "Converts a locale-specific currency string into a formatted number. > Attempts conversion by comparing the string with each the three > supported currency formats (none, local, international) and using the > first that matches." > > > what you do is correct - for your locale - but > > europeans do wierd stuff with thousands seperators and decimal places. > you say which locale you're working in and LSParseCurrency adjusts to > exactly what you want. > > eh my 2c, learnt from bitter experience. > barry.b > > > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
