Pages

Float data type in php

Monday, 18 February 2013

Float data type in php:
Float variable can hold decimal numbers is_float to check weather the variable is floating point number or not.
(Float) variable
To convert the variable into  float data type.
Precision data type in php:-
This is a configuration directive in php.ini to specify total number of digits display by on floating point number.
Precision= 14 (default)
To change = 16 or any number.
 

Most Reading