Compare commits
1 Commits
0.9.36-bet
...
0.9.37-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
d6ede0b404
|
@@ -91,6 +91,7 @@ public class NumberLib {
|
||||
var digits = args.getInt(0, 0);
|
||||
|
||||
var nf = NumberFormat.getNumberInstance();
|
||||
nf.setMinimumFractionDigits(digits);
|
||||
nf.setMaximumFractionDigits(digits);
|
||||
|
||||
return nf.format(args.getDouble(-1));
|
||||
|
||||
Reference in New Issue
Block a user