Answers for "how convert the string to int in laravel function event"

PHP
0

how convert the string to int in laravel function event

$num = "3.14";
$int = (int)$num;
$float = (float)$num;
Posted by: Guest on June-15-2021

Code answers related to "how convert the string to int in laravel function event"

Browse Popular Code Answers by Language