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
PREVIOUS
NEXT
Tagged:
#cast
#string
#int
#php
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit