fix unnecessary floating number print (#2415). Thanks to grandmaster8

This commit is contained in:
grandmaster 2021-06-21 12:24:16 +03:00 committed by GitHub
parent 8f0e22d624
commit bc719bb7f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ public class PowerSystem {
}
public static String getLocalizedPowerNoSuffix(double power) {
return getRoundedString(power, "", true);
return getRoundedString((int) power, "", true);
}
public static String getLocalizedPowerNoFormat(double power){