MDUX#64435 Punch out meer dan 2 decimalen
svn path=/Website/trunk/; revision=55993
This commit is contained in:
@@ -72,15 +72,7 @@
|
||||
}
|
||||
else
|
||||
{ // Maak item (eventueel) aan in catalogus
|
||||
var prijs = "NULL";
|
||||
if (!(price == "" || isNaN(price)))
|
||||
{
|
||||
prijs = parseFloat(price);
|
||||
var eenheid = ( (priceunit == "" || isNaN(priceunit)) ? 1 : parseFloat(priceunit) );
|
||||
var aantal = ( (quantity == "" || isNaN(quantity)) ? 1 : parseFloat(quantity) );
|
||||
prijs = Math.round( (prijs / eenheid) * aantal * 100000) / 100000;
|
||||
}
|
||||
|
||||
var prijs = !(prijs!=""&&isNaN(parseFloat(price)))? parseFloat(price).toFixed(5) : "NULL";
|
||||
var bes_srtdeel_key = bes.upsert_deel(dis_key, { srtdeel_nr: vendorProductNumber,
|
||||
srtgroep_omschrijving: productGroup,
|
||||
srtdeel_omschrijving: description,
|
||||
|
||||
Reference in New Issue
Block a user