Interger Number: <?php
echo $any_int=1234; echo "<br/>";
echo $str = (string)$any_int;echo "<br/>";
echo $u_char= strlen($str);echo "<br/>";
$any_int_10char="";
for($a=0;$a<(10-$u_char);$a++){
$any_int_10char=$any_int_10char."0";
}
echo $any_int_10char;
?>
Posted By :
Mahesh Nigam
(Scientist)
2026-01-16 00:24
See Author's other Published Topics
Peoples
Peoples
Comments...
Write Your Comment