Is it really this hard to print currency values?
bobs at twft.com
Mon Jul 30 13:37:34 EDT 2012
Crazy huh? I think there should be a function that extracts the numerical value of a string. Even better, the engine should simply assume a properly formatted currency is a number and deal with it.
On Jul 29, 2012, at 9:05 AM, Dr. Hawkins wrote:
> As I sat down to finally encode currency into my output, I pulled old
> answers from older questions and did more searches.
> Is it *really* this hard to output currency?
> To turn 123456.78 into $123,456.78, everything I'm finding would have
> me using modulo arithmetic to produce three values, with these three
> values being output in the string (4, actually, to allow values in the
> Am I missing something obvious here?
> The Hawkins Law Firm
> Richard E. Hawkins, Esq.
> (702) 508-8462
> HawkinsLawFirm at gmail.com
> 3025 S. Maryland Parkway
> Suite A
> Las Vegas, NV 89109
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode