Skip to main content
edited tags
Link
Dr. belisarius
  • 61.2k
  • 15
  • 121
  • 198
added 8 characters in body
Source Link
dev-null-dweller
  • 29.5k
  • 3
  • 68
  • 87

I want to add following numbers

$res = 0.000000002 + 0.000000002 + 0.000000002;

$res = 0.000000002 + 0.000000002 + 0.000000002; 

I got result like this

4.2E-8

4.2E-8 

can any one explain , how to get 0.000000006

thanks

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

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

Source Link

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