diff options
| -rw-r--r-- | altosui/AltosConfigPyroUI.java | 10 | 
1 files changed, 6 insertions, 4 deletions
diff --git a/altosui/AltosConfigPyroUI.java b/altosui/AltosConfigPyroUI.java index 9df2d87d..6cbac316 100644 --- a/altosui/AltosConfigPyroUI.java +++ b/altosui/AltosConfigPyroUI.java @@ -105,11 +105,13 @@ public class AltosConfigPyroUI  				AltosUnits units = AltosPyro.pyro_to_units(flag);  				if (units != null)  					unit_value = units.value(new_value); -				String	format = "%6.0f"; -				if (scale >= 10) -					format = "%6.1f"; -				else if (scale >= 100) +				String	format; +				if (scale >= 100)  					format = "%6.2f"; +				else if (scale >= 10) +					format = "%6.1f"; +				else +					format = "%6.0f";  				value.setText(String.format(format, unit_value));  			}  			if (combo != null)  | 
