Fixed comment sentence that was unclear

This commit is contained in:
FrancescoUK
2016-08-03 07:36:02 +01:00
parent 4ea056e3f7
commit 63a6706770

View File

@@ -54,7 +54,7 @@ function to_quantity_decimals($number)
function to_decimals($number, $decimals, $type=\NumberFormatter::DECIMAL)
{
// ignore empty strings and return
// NOTE: do not change it to empty because otherwise tables will show a 0 with no decimal nor currency symbol
// NOTE: do not change it to empty otherwise tables will show a 0 with no decimal nor currency symbol
if(!isset($number))
{
return $number;