Casting Ciąg do int PHP
$num = "3.14";
$int = (int)$num;//string to int
$float = (float)$num;//string to float
Sam
$num = "3.14";
$int = (int)$num;//string to int
$float = (float)$num;//string to float
<script> var p = "Hai"; alert(p);</scr