Skip to main content
3 of 3
edited tags
Dr. belisarius
  • 61.2k
  • 15
  • 121
  • 198

How to add two large fractions in PHP

I want to add following numbers

$res = 0.000000002 + 0.000000002 + 0.000000002; 

I got result like this

4.2E-8 

can any one explain , how to get 0.000000006

thanks