<? function resto($v,$d){ return round($v-$d*intval($v/$d), 2); } ?>