RE: [PHP] Making PHP Hold the hundreth place, instead of dropping the 0

2001-01-11 Thread Cal Evans
To: [EMAIL PROTECTED] Subject: [PHP] Making PHP Hold the hundreth place, instead of dropping the 0 Hey, Simple question. Breifly rumaged through the PHP docs and couldn't find this answer. How do i force PHP to hold ending zero in a double? Ie- if the price is 15.50, php will output it as 15.

Re: [PHP] Making PHP Hold the hundreth place, instead of dropping the 0

2001-01-11 Thread Cynic
number_format() At 16:09 11.1. 2001, JB wrote the following: -- >Hey, > >Simple question. Breifly rumaged through the PHP docs and couldn't find this answer. > >How do i force PHP to hold ending zero in a double? > >Ie- if the price is

[PHP] Making PHP Hold the hundreth place, instead of dropping the 0

2001-01-11 Thread JB
Hey, Simple question. Breifly rumaged through the PHP docs and couldn't find this answer. How do i force PHP to hold ending zero in a double? Ie- if the price is 15.50, php will output it as 15.5 after it does the math. how do i overcome this. thanks! jason