Re: [PHP] computing 60/10 - how to?

2007-01-08 Thread Merlin
Merlin schrieb: Jochem Maas schrieb: Merlin wrote: Hi there, I do have a text value inside a variable: exif[FNumber] = 56/10 which I would like to save as a float value: 5,6 into a database. How can I compute this 56/10? I tried things like calculate() or math() but did not find the propper f

Re: [PHP] computing 60/10 - how to?

2007-01-08 Thread Merlin
Jochem Maas schrieb: Merlin wrote: Hi there, I do have a text value inside a variable: exif[FNumber] = 56/10 which I would like to save as a float value: 5,6 into a database. How can I compute this 56/10? I tried things like calculate() or math() but did not find the propper function to do thi

RE: [PHP] computing 60/10 - how to?

2007-01-08 Thread Edward Kay
007 10:22 > To: php-general@lists.php.net > Subject: [PHP] computing 60/10 - how to? > > > Hi there, > > I do have a text value inside a variable: exif[FNumber] = 56/10 which I > would like to save as a float value: 5,6 into a database. > > How can I compute this 56/10

Re: [PHP] computing 60/10 - how to?

2007-01-08 Thread Jochem Maas
Merlin wrote: > Hi there, > > I do have a text value inside a variable: exif[FNumber] = 56/10 which I > would like to save as a float value: 5,6 into a database. > > How can I compute this 56/10? I tried things like calculate() or math() > but did not find the propper function to do this. > > Ca

[PHP] computing 60/10 - how to?

2007-01-08 Thread Merlin
Hi there, I do have a text value inside a variable: exif[FNumber] = 56/10 which I would like to save as a float value: 5,6 into a database. How can I compute this 56/10? I tried things like calculate() or math() but did not find the propper function to do this. Can anybody help, please? Th