dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42043
Re: Round decimal number
It works now, thank you
On Thu, Dec 17, 2015 at 3:56 PM, Lars Helge Øverland <larshelge@xxxxxxxxx>
wrote:
> Hi Em,
>
> did you check out the skipRounding=true analytics query parameter in the
> docs?
>
> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s27.html#d5e3419
>
>
> skipRoundingNoSkip rounding of data values, i.e. provide full precision.false
> | true
> best regards,
>
> Lars
>
>
>
> On Thu, Dec 17, 2015 at 9:25 AM, Em Le Hong <em.hispvietnam@xxxxxxxxx>
> wrote:
>
>> Dear all,
>>
>> I create an HTML report for my project, it's about finance. When I get
>> the value from API, it already rounded, for example, the value in data
>> entry form is 52.85, then the value in report will be 52.9. The same with
>> Pivot Table, we don't have option not to round the number.
>>
>> Is that any option that I can get the native value the same with the
>> value in Data Entry form?
>>
>> --
>> Le Hong Em
>> +84 126 7171 650
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org <https://www.dhis2.org>
>
>
--
Le Hong Em
+84 126 7171 650
References