0

What number is this: 8.86E-6

And how can we convert it with PHP?

Is this number equivalent to 0.00000886 or 8.8600000e-6

  • 2
    Convert it to what? – Mark Baker Sep 15 '16 at 16:16
  • it's scientific notiation. just treat `e` as the visual equvalient of `x10^` – Marc B Sep 15 '16 at 16:16
  • PHP natively understands scientific notation - if you've got a string in that format then any mathematical operations will work fine. If you're looking to convert it for display, look into `sprintf`. – iainn Sep 15 '16 at 16:23

0 Answers0