php ini precision

PHP supports a wide variety of datatypes, including floating-point numbers. The precision parameter specifies the number of significant digits displayed in a floatingpoint number representation. Note that this value is set to 14 digits on Win32 systems and to 12 digits on Linux.

precision = 14

You can set this parameters at run-time. precision 14 digits is usually the average value at windows mechine. 16 digits is usually the maximum value on most platforms.





Content