Only show whole numbers on printing screen

This commit is contained in:
Lars Brubaker 2017-02-24 12:32:28 -08:00
parent b1dac1b91d
commit 19b5938c76
2 changed files with 5 additions and 5 deletions

View file

@ -68,8 +68,8 @@ namespace MatterHackers.MatterControl.CustomWidgets
progressBar.RatioComplete = targetValue != 0 ? actualValue / targetValue : 1;
this.actualTemp.Text = $"{actualValue:0.#}°";
this.targetTemp.Text = $"{targetValue:0.#}°";
this.actualTemp.Text = $"{actualValue:0}°";
this.targetTemp.Text = $"{targetValue:0}°";
}
}
@ -95,8 +95,8 @@ namespace MatterHackers.MatterControl.CustomWidgets
progressBar.RatioComplete = targetValue != 0 ? actualValue / targetValue : 1;
this.actualTemp.Text = $"{actualValue:0.#}°";
this.targetTemp.Text = $"{targetValue:0.#}°";
this.actualTemp.Text = $"{actualValue:0}°";
this.targetTemp.Text = $"{targetValue:0}°";
}
}