mirror of
https://github.com/AppleDash/SaneEconomy.git
synced 2024-11-05 01:59:35 +01:00
Add method to get a Currency's DecimalFormat
This commit is contained in:
parent
74234d4196
commit
ad7b0dc21e
@ -1,5 +1,5 @@
|
|||||||
group 'org.appledash'
|
group 'org.appledash'
|
||||||
version '0.1.7-SNAPSHOT'
|
version '0.1.8-SNAPSHOT'
|
||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
|
|
||||||
|
@ -59,4 +59,12 @@ public class Currency {
|
|||||||
public String getPluralName() {
|
public String getPluralName() {
|
||||||
return namePlural;
|
return namePlural;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get this currency's number format.
|
||||||
|
* @return DecimalFormat instance
|
||||||
|
*/
|
||||||
|
public DecimalFormat getFormat() {
|
||||||
|
return format;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: SaneEconomy
|
name: SaneEconomy
|
||||||
main: org.appledash.saneeconomy.SaneEconomy
|
main: org.appledash.saneeconomy.SaneEconomy
|
||||||
version: 0.1.7
|
version: 0.1.8
|
||||||
commands:
|
commands:
|
||||||
balance:
|
balance:
|
||||||
aliases: [bal]
|
aliases: [bal]
|
||||||
|
Loading…
Reference in New Issue
Block a user