<?php $valore = "300,01"; $numchar = 5; $s = str_replace(".", "", sprintf("%0".$numchar."f", $valore)); echo $s;
You have javascript disabled. You will not be able to edit any code.