|
|
@@ -2929,7 +2929,7 @@ namespace TeamAAS_VP.Core
|
|
|
//
|
|
|
ThrowNumber = await _systemDatabaseService.GetThrowNumberAsync();
|
|
|
NgNumber = await _systemDatabaseService.GetNGProductionAsync(currentproduct.Name);
|
|
|
- Yield = (TotalQuantityToday - NgNumber) / TotalQuantityToday * 100;
|
|
|
+ Yield = ((double)TotalQuantityToday - (double)NgNumber) / (double)TotalQuantityToday * 100;
|
|
|
}
|
|
|
catch (Exception)
|
|
|
{
|