PHP Basic: Floating-Point Data TypeTag: data type, floating point Category: PHP Basicpost: 01 Mar 2008 read: 76 PHP Basic Data Type Step By Step Tutorial - Part 4: Floating-Point data type is the number of data type of float, double, or real and it is able to be expressed with form as follow:
$ x = 1.234; The reach number of float depends on platform, maximum ~1.8e308 with the correctness of 14 digit. Pay attention to the example of using float data type at script as following : File name : floating_point.php
The result of executing floating_point.php:
|
| | Give Your Opinion | Recommend |
|

