Is it really this hard to print currency values?

Dr. Hawkins dochawk at gmail.com
Sun Jul 29 12:05:52 EDT 2012


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
millions).

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




More information about the use-livecode mailing list