工具表定模块 使用科学计数法
This commit is contained in:
@@ -741,6 +741,10 @@ namespace MesWork.Pages
|
||||
if (wv != null)
|
||||
{
|
||||
decimal weight = Convert.ToDecimal(wv);
|
||||
if (WeightCalibrationHelper.Apply(opName, weight, out decimal calibratedWeight, out _, out _))
|
||||
{
|
||||
weight = calibratedWeight;
|
||||
}
|
||||
string newTxt = Convert.ToDouble(weight).ToString("F2");
|
||||
if (lblWeight.Text != newTxt) lblWeight.Text = newTxt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user