mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 12:42:53 +00:00
Fix time format
This commit is contained in:
1 parent
eab09635e9
commit
f5a83016f5
1 file changed
+1
-1
@@ -236,7 +236,7 @@ public class AnalystPageBiology extends ControlAnalystPage {
|
||||
float seconds = time / 20.0f;
|
||||
float minutes = seconds / 60.0f;
|
||||
float days = minutes / 20.0f;
|
||||
DecimalFormat df = new DecimalFormat("#.0");
|
||||
DecimalFormat df = new DecimalFormat("#.#");
|
||||
return I18N.localise("genetics.gui.analyst.biology.mcDays", df.format(days));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user