0
Exampel of decimal numbers
hi givime the exampel of decimal number and non decimal number in php (integere) datatype.
3 Réponses
0
$a = 10.453; // float
$b = 10453; // integer
0
In PHP, we are not required to specify the datatype of a variable while declaring it. It does so itself.
Ex: $a = 10
not like this: int $a = 10
similarly $b=26 //integer
and $b =10.7 //float
0
Thanks for writing good answers. i will understand your answer