In this tutorial you will study about float number in PHP, different examples will illustrate the conceptIn this tutorial you will study about float number in PHP, different examples will illustrate the concept
PHP Float Number:
In our daily life we use different kind of number systems. Integer and Float numbers are most common in use. In the current tutorial we will study about Float number system.
Float number system or floating point numbers also known as "floats", "doubles", or "real numbers".
Following examples will help you to learn floating point number precisely.
Value of a is:34
Value of a is :34
Data type of a is; double
float(1.234) float(1200) float(7.0E-10)