fix unnecessary floating number print (#2415). Thanks to grandmaster8
This commit is contained in:
parent
8f0e22d624
commit
bc719bb7f4
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ public class PowerSystem {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getLocalizedPowerNoSuffix(double power) {
|
public static String getLocalizedPowerNoSuffix(double power) {
|
||||||
return getRoundedString(power, "", true);
|
return getRoundedString((int) power, "", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getLocalizedPowerNoFormat(double power){
|
public static String getLocalizedPowerNoFormat(double power){
|
||||||
|
|
Loading…
Reference in a new issue