[FX.php List] Formatting numbers in FX.php
Andrew Denman
adenman at tmea.org
Fri Mar 3 11:21:21 MST 2006
Hello Bob,
For formatting I just use the PHP functions:
http://us3.php.net/manual/en/function.number-format.php
http://us3.php.net/manual/en/function.money-format.php
I don't think FX.php returns the formatting type used on a particular field
on a layout. It would be nice if I'm wrong though (or if new FX.php
features made me wrong... I could live with that too ;).
Andrew Denman
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Friday, March 03, 2006 12:08 PM
To: FX.php Discussion List
Subject: [FX.php List] Formatting numbers in FX.php
Hi list,
Is there a way to get FX.php to return the formatting that FileMaker
uses with numbers? In CDML, I could just add ",format" to a tag to
have a number displayed using the same formatting as the database
itself.
For example, with a number like 12000, I'd like it to display as
"12,000"; I'm hoping not to have to write a calc script to insert
commas or dollar signs.
Does such a beast exist? Failing that, does anyone have a calc
they've already done that will format my number with thousands
separators?
Thanks a lot,
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
CONTACT US VIA SKYPE:
USERNAME: longtermsolutions
CONTACT US VIA INSTANT MESSAGING:
AIM or iChat: longterm1954
Yahoo: longterm_solutions
MSN: bob at patin.com
ICQ: 159333060
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list