|
|
@@ -763,6 +763,10 @@ namespace OTSIncAReportApp.DataOperation.DataAccess
|
|
|
{
|
|
|
dData = Convert.ToDecimal(Decimal.Parse(strData.ToString(), System.Globalization.NumberStyles.Float));
|
|
|
}
|
|
|
+ else if (string.IsNullOrWhiteSpace(strData))
|
|
|
+ {
|
|
|
+ return Convert.ToDouble(dData).ToString("0.00");
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
return Convert.ToDouble(strData).ToString("0.00");
|