January 16, 200817 yr Does anybody know how to format a field as a dollar amount in the php output file
January 16, 200817 yr I have no clue what file it is you're referring to... but: $price = "$".number_format($rec->getField('myPrice'),2); If you were using the API -> There is another function called price_format() or something, but number_format does it for me when currency type isn't really an issue.
Create an account or sign in to comment