I don't think that so many significant digits are needed
Plus, the math looks wrong...
Precision is important...
I changed the number of significant digits displayed in floating point numbers from 14 to 17. Might be what caused this issue. I'll revert back to 14.
Change it to 3 or 2? There is no point in having more.
Default is 14, so there must be some reason the PHP devs think it's a good value.
I'm guessing that their Focus Group didn't have any scientists or engineers...
You can use this function to format the decimal places in a number:
$num = 2.12;
Well, if it is a general PHP setting: PHP has no idea how precise these numbers are supposed to be. 14 is small enough to avoid displaying rounding errors in most cases, and large enough to keep more digits than anyone is reasonably interested in (with extremely few exceptions).
Separate names with a comma.