Only show whole numbers on printing screen
This commit is contained in:
parent
b1dac1b91d
commit
19b5938c76
2 changed files with 5 additions and 5 deletions
|
|
@ -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}°";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue