The summation of fractions

QuestionsThe summation of fractions
Andy asked 6 years ago

Hi!
There is a problem in the summation of fractional numbers.
Example:
5.20
6.40
and so on
by 330.29999999999995

Form of record
$ col ["formatter"] = "UNSIGNED";
$ col ["summaryType"] = "sum";
What's the problem?

2 Answers
Abu Ghufran answered 6 years ago

Use this formatter settings.

$col["formatter"] = "number";
$col["formatoptions"] = array("thousandsSeparator" => ",",
"decimalSeparator" => ".",
"decimalPlaces" => 2);

Andy answered 6 years ago

thank you very match

Your Answer

16 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!