Re: [PHP][PHP] Money Decimals

2003-02-19 Thread Justin French
Did you even bother to look on the site? To prove a point, I did a seach for the word "number" on PHP, and found this result within SECONDS: http://www.php.net/manual/en/function.number-format.php Justin French on 20/02/03 9:54 AM, Dennis Cole ([EMAIL PROTECTED]) wrote: > I am writing a s

Re: [PHP][PHP] Money Decimals

2003-02-19 Thread Richard Whitney
Do you ever want to show more then .00 in the decimals place? If not, strip everything off of the number after the decimal including the decimal. then format the number on retrieval by using number_format($number,2); HTH RVW Quoting Dennis Cole <[EMAIL PROTECTED]>: ### I am writing a script tha