NMMS#54500 Inschakelen 7 decimalen achter de komma

svn path=/Website/trunk/; revision=39407
This commit is contained in:
Alex Tiehuis
2018-10-15 15:40:25 +00:00
parent e3efc26f72
commit b60cece803

View File

@@ -175,7 +175,7 @@ if (!readonly && opdr_key > 0)
function fnMateriaalPrijs(oRs) // determine float or currency representation
{
var price = oRs("mld_opdr_materiaal_prijs").Value;
if (String(price).split(".")[1] > 99) // price has more then 2 digits after de decimal point
if (String(price).split(".")[1] > "99") // price has more then 2 digits after de decimal point
{
return safe.displayfloat(price, 7, true); // show all digits after decimal point without trailing zeroes
}