mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-02-17 04:41:41 +01:00
Added fractionalDigits()
This commit is contained in:
parent
2115009e1e
commit
d7ab974199
@ -42,6 +42,14 @@ public interface Economy {
|
||||
*/
|
||||
public boolean hasBankSupport();
|
||||
|
||||
/**
|
||||
* Some economy plugins round off after a certain number of digits.
|
||||
* This function returns the number of digits the plugin keeps
|
||||
* or -1 if no rounding occurs.
|
||||
* @return number of digits after the decimal point kept
|
||||
*/
|
||||
public int fractionalDigits();
|
||||
|
||||
/**
|
||||
* Format amount into a human readable String This provides translation into
|
||||
* economy specific formatting to improve consistency between plugins.
|
||||
|
Loading…
Reference in New Issue
Block a user