Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how convert the string to int in laravel function event

$num = "3.14";
$int = (int)$num;
$float = (float)$num;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #string #int #laravel #function #event
ADD COMMENT
Topic
Name
4+7 =