Add method to get a Currency's DecimalFormat

This commit is contained in:
AppleDash 2016-06-14 06:20:14 -04:00
parent 74234d4196
commit ad7b0dc21e
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,5 @@
group 'org.appledash'
version '0.1.7-SNAPSHOT'
version '0.1.8-SNAPSHOT'
apply plugin: 'java'

View File

@ -59,4 +59,12 @@ public class Currency {
public String getPluralName() {
return namePlural;
}
/**
* Get this currency's number format.
* @return DecimalFormat instance
*/
public DecimalFormat getFormat() {
return format;
}
}

View File

@ -1,6 +1,6 @@
name: SaneEconomy
main: org.appledash.saneeconomy.SaneEconomy
version: 0.1.7
version: 0.1.8
commands:
balance:
aliases: [bal]