$float = (float)$var;
$float
- resulting float number$var
- variable of any type to convert to float(float)
- asks php to convert what's on the right to float
group: convert_type
link_youtube: https://youtu.be/PLnMTEtuY6Y
$float = (float)$var;
$float
- resulting float number$var
- variable of any type to convert to float(float)
- asks php to convert what's on the right to floatgroup: convert_type
link_youtube: https://youtu.be/PLnMTEtuY6Y