Re: [PHP] converting decimal to fraction and vice versa

2002-11-10 Thread Ernest E Vogelsinger
At 05:45 10.11.2002, Michael P. Carel said: [snip] >is there any way to convert decimal numbers to fraction and fraction to >decimal format. i need to convert the inputed fractional value in the field >before inserting it to the mysql database, such us 1/2

Re: [PHP] converting decimal to fraction and vice versa

2002-11-09 Thread Jason Wong
On Sunday 10 November 2002 12:45, Michael P. Carel wrote: > hi to all; > > is there any way to convert decimal numbers to fraction and fraction to > decimal format. i need to convert the inputed fractional value in the field > before inserting it to the mysql database, such us 1/2 = 0.5 . thanx in

[PHP] converting decimal to fraction and vice versa

2002-11-09 Thread Michael P. Carel
hi to all; is there any way to convert decimal numbers to fraction and fraction to decimal format. i need to convert the inputed fractional value in the field before inserting it to the mysql database, such us 1/2 = 0.5 . thanx in advance. regards, mike -- PHP General Mailing List (http://