Uat_Study
he 2022-11-07 11:07:13 +08:00
parent 5b14293f4c
commit e907c10c8b
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
if (valueOfTypes.Contains(item.ValueType))
{
item.Answer = decimal.Round(decimal.Parse(item.Answer ?? "0"), inDto.DigitPlaces).ToString();
item.Answer = decimal.Round(decimal.Parse(item.Answer.IsNullOrEmpty() ? "0": item.Answer), inDto.DigitPlaces).ToString();
}
}
catch (Exception)