mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-11 17:55:53 +00:00
Higher precision for Fiat values in DOGE land
This commit is contained in:
parent
e00a5b2776
commit
ac12628289
@ -35,8 +35,9 @@ public final class Fiat implements Monetary, Comparable<Fiat>, Serializable {
|
||||
/**
|
||||
* The absolute value of exponent of the value of a "smallest unit" in scientific notation. We picked 4 rather than
|
||||
* 2, because in financial applications it's common to use sub-cent precision.
|
||||
* Since a single DOGE has a low fiat value we need to up the precision here.
|
||||
*/
|
||||
public static final int SMALLEST_UNIT_EXPONENT = 4;
|
||||
public static final int SMALLEST_UNIT_EXPONENT = 8;
|
||||
|
||||
/**
|
||||
* The number of smallest units of this monetary value.
|
||||
|
Loading…
x
Reference in New Issue
Block a user