Category: Round Table

Precision of Floating Point Numbers in PHP


Depending on the platform on which php is running the size of float differs. The 64 bit IEEE format has a precision roughly upto 14 decimal places. The implicit precision of a normal IEEE 754 double precision number is slightly less than 16 digits, which will give a maximum relative error due to rounding in the order of 1.11e-16.

Read More

End of content

No more pages to load

Editor: Ashwini Rath

An entrepreneur, author and digital technology consultant, Ashwini Rath is the Director and CEO at Batoi and is actively involved in the strategic affairs and product development. His current research interests include cloud computing, Internet of Things, and mathematical sciences.


© Batoi. All rights reserved.