DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
cast string to int php
$num = "3.14"; $int = (int)$num;//string to int $float = (float)$num;//string to float
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#cast
#string
#int
#php
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit