The summation of fractions

QuestionsThe summation of fractions
Andy asked 11 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 11 years ago

Use this formatter settings.

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

Andy answered 11 years ago

thank you very match

Your Answer

10 + 19 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?