Re: [PHP] Displaying output from MySQL

2002-12-11 Thread Chris Hewitt
Beauford.2002 wrote: Hi, Not sure if this is a PHP of a MySQL question, so I am sending it to both groups. Basically I have a list of numbers with two decimal places in the MySQL database, but I only want to display some of them with the decimal points. Check out number_format() in the manual

Re: [PHP] Displaying output from MySQL

2002-12-11 Thread Beauford.2002
Subject: Re: [PHP] Displaying output from MySQL Beauford.2002 wrote: Hi, Not sure if this is a PHP of a MySQL question, so I am sending it to both groups. Basically I have a list of numbers with two decimal places in the MySQL database, but I only want to display some of them with the decimal

[PHP] Displaying output from MySQL

2002-12-10 Thread Beauford.2002
Hi, Not sure if this is a PHP of a MySQL question, so I am sending it to both groups. Basically I have a list of numbers with two decimal places in the MySQL database, but I only want to display some of them with the decimal points. i.e. 70 (not 70.00) 87 51.5 46.75 12 29 5.5 -1 45 I know it's