[FX.php List] Formatting numbers in FX.php

Dale Bengston dbengston at preservationstudio.com
Fri Mar 3 11:31:22 MST 2006


Hey Bob,

Check out PHP's number_format....

http://us3.php.net/manual/en/function.number-format.php

Regards,
Dale

On Mar 3, 2006, at 12:07 PM, Bob Patin wrote:

> 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