← Back to team overview

dhis2-users team mailing list archive

Re: Number formatting

 

Hi Georgi,



So if you want to capture a whole number then you select Integer, Positive
Integer or Zero Positive integer. If you want to capture decimal values
then you select number. Although you cannot define the number of decimal
points you will be able to capture a value with decimals.



Regards,



*Elmarie Claasen*

[image: Hisp logo]

Project Manager

Health Information Systems Program

Tel:      041-367 1027

Cell:     082 374 2209

E-mail: elmarie@xxxxxxxx

Skype:  elmarie.claasen52



*From:* Georgi Chakarov [mailto:georgi@xxxxxxxxxxxxxxxxxxx]
*Sent:* Tuesday, May 16, 2017 2:28 PM
*To:* Elmarie Claasen <elmarie@xxxxxxxx>; dhis2-users@xxxxxxxxxxxxxxxxxxx;
dhis2-devs@xxxxxxxxxxxxxxxxxxx
*Subject:* RE: [Dhis2-users] Number formatting



Hi Elmarie,



Thanks for the response! I am using 2.26.

The digit separator works good. The number of decimals cannot be selected
at data element level. I know this option is available with indicators, but
I can’t figure it out with data elements. Any idea?



Georgi



*From:* Elmarie Claasen [mailto:elmarie@xxxxxxxx <elmarie@xxxxxxxx>]
*Sent:* Tuesday, May 16, 2017 2:19 PM
*To:* Georgi Chakarov <georgi@xxxxxxxxxxxxxxxxxxx>;
dhis2-users@xxxxxxxxxxxxxxxxxxx; dhis2-devs@xxxxxxxxxxxxxxxxxxx
*Subject:* RE: [Dhis2-users] Number formatting



Hi Georgi,



Which version of DHIS2 are you using?



In later versions you can change the digit group separator to use in
analytics under System Settings > Appearance to comma, space or none.

The decimal values are determined by the datatype you select e.g. if you
select integer you cannot have any decimals thus select number and define
the number of decimal spaces.

I am not aware of anywhere you can add a currency symbol.



Regards,



*Elmarie Claasen*

[image: Hisp logo]

Project Manager

Health Information Systems Program

Tel:      041-367 1027

Cell:     082 374 2209

E-mail: elmarie@xxxxxxxx

Skype:  elmarie.claasen52



*From:* Dhis2-users [mailto:dhis2-users-bounces+elmarie=
hisp.org@xxxxxxxxxxxxxxxxxxx] *On Behalf Of *Georgi Chakarov
*Sent:* Tuesday, May 16, 2017 10:40 AM
*To:* dhis2-users@xxxxxxxxxxxxxxxxxxx; dhis2-devs@xxxxxxxxxxxxxxxxxxx
*Subject:* [Dhis2-users] Number formatting



Hello all!



Is there a way to format numbers in DHIS2 to Use proper $ signs, commas,
and decimals for all display figures?

Example: 200000 to $ 200,000.00



Thanks!


Georgi Chakarov, CIA | georgi@xxxxxxxxxxxxxxxxxxx | +1-647-478-5634 x
104 | LogicalOutcomes c/o Centre for Social Innovation, 720 Bathurst
Street, Toronto Canada M5S 2R4 | *You may unsubscribe from receiving
commercial electronic messages from LogicalOutcomes by emailing *
*info@xxxxxxxxxxxxxxxxxxx* <info@xxxxxxxxxxxxxxxxxxx>





*This message and any attachments are subject to a disclaimer published at
http://www.hisp.org/policies.html#comms_disclaimer
<http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the
disclaimer before opening any attachment or taking any other action in
terms of this electronic transmission.  If you cannot access the
disclaimer, kindly send an email to disclaimer@xxxxxxxx
<disclaimer@xxxxxxxx> and a copy will be provided to you. By replying to
this e-mail or opening any attachment you agree to be bound by the
provisions of the disclaimer.*

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
<http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclaimer@xxxxxxxx 
<disclaimer@xxxxxxxx> and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*

PNG image


Follow ups

References