<?php $argv[1] = '24601.283'; list($a, $b)=explode('.',$argv[1]); $i = 1; while($a > 0) { $c[] = $a = floor($a / (10 * $i++)); } print_r($c);
You have javascript disabled. You will not be able to edit any code.