floatval
Intervention/image
Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Get float value of a variable
Alias
doubleval
<?php floatval
(
mixed $value
):
float
<?php $alpha
=
floatval
(
round
(
$alpha
[
0
] /
255
,
2
)); } }
src/Intervention/Image/Gd/Commands/MaskCommand.php