AMGA-5 Fixed potential problem with 3+ points after the decimal that thr...

...ows an error with CiviCRM