I would like to ask how I can get the length of digits in an Integer. For example:
$num = 245354; $numlength = mb_strlen($num);
$numl
More elegant way :)
ceil(log10($num));