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

2001-01-11 Thread Cal Evans
I think you are looking for printf. Check the manual. it won't hold it, but you can make it PRINT it. (Which, I'm asumming, is what you really want) Cal http://www.calevans.com -Original Message- From: JB [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 11, 2001 9:09 AM To: [EMAIL PRO

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