Jump to content

php and mysql with fractions/recurring numbers


giraffemedia

Recommended Posts

Hi

 

I'm struggling with knowing how to use fractions i.e. 1/3, 1/8 within php and mysql and would much prefer to use decimals. is it possible to use/insert recurring numbers in php or mysql.

 

I would like to add all of these up at a later stage so that 1/3, 2/3, 1/3, 1/3 and 1/3 added together would equal 2.

 

I'd be very grateful if anyone could point me in the right direction.

 

Regards

 

James

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.