dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15396
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5572: Set two place decimal instead of one digit.
------------------------------------------------------------
revno: 5572
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-12-23 16:58:32 +0700
message:
Set two place decimal instead of one digit.
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/i18n/I18nFormat.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/i18n/I18nFormat.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/i18n/I18nFormat.java 2011-04-11 15:29:17 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/i18n/I18nFormat.java 2011-12-23 09:58:32 +0000
@@ -45,7 +45,7 @@
*/
public class I18nFormat
{
- private static final DecimalFormat FORMAT_VALUE = new DecimalFormat( "#.#;#.#" ); // Fixed for now
+ private static final DecimalFormat FORMAT_VALUE = new DecimalFormat( "#.##;#.##" ); // Fixed for now
private static final String EMPTY = "";
private static final String NAN = "NaN";