convertir virgule en point pour Post
Posté : 12 sept. 2012, 16:52
Je fais fait un une virgule il convertis pas
$the_a_RequestData ['PARCELS'] = array(
'Weight' => (float)(preg_replace("#,#",'.',$_POST["Weight"] * 100))
);
thank u to help
$the_a_RequestData ['PARCELS'] = array(
'Weight' => (float)(preg_replace("#,#",'.',$_POST["Weight"] * 100))
);
thank u to help