diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 731ae555ba9..cf098c7da0d 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -307,7 +307,7 @@ if (empty($reshook)) { $object->fk_incoterms = GETPOSTINT('incoterm_id'); $object->location_incoterms = GETPOST('location_incoterms', 'alpha'); $object->multicurrency_code = GETPOST('multicurrency_code', 'alpha'); - $object->multicurrency_tx = GETPOSTINT('originmulticurrency_tx'); + $object->multicurrency_tx = (float) price2num(GETPOST('originmulticurrency_tx')); // Fill array 'array_options' with data from add form if (!$error) { $ret = $extrafields->setOptionalsFromPost(null, $object);