[Vtigercrm-developers] UItype 71 truncating trailing zeros [SOLVED]

Alan Lord alanslists at gmail.com
Thu Jul 24 11:38:26 GMT 2014


After following the thread of spaghetti to a function convertFromDollar 
in CommonUtils the function should use

  > return number_format($amount * $crate, 2);

but it had

> return round($amount * $crate, 2);

which doesn't do the same thing. (Please note that number_format can 
take other parameters if you do not use "," for thousands and "." for 
the decimal point.

HTH

Al




More information about the vtigercrm-developers mailing list