mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2025-03-02 10:41:04 +01:00
Reduce precision.
This commit is contained in:
parent
faa359aac1
commit
ab23d82fc5
@ -15,7 +15,7 @@ public class LocationSerializer {
|
||||
private static DecimalFormat decimalFormat;
|
||||
static {
|
||||
// More precision is not needed at all.
|
||||
decimalFormat = new DecimalFormat("0.0000");
|
||||
decimalFormat = new DecimalFormat("0.000");
|
||||
DecimalFormatSymbols formatSymbols = decimalFormat.getDecimalFormatSymbols();
|
||||
formatSymbols.setDecimalSeparator('.');
|
||||
decimalFormat.setDecimalFormatSymbols(formatSymbols);
|
||||
|
Loading…
Reference in New Issue
Block a user