Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0104: 'Financial' is an ambiguous reference between 'Microsoft.VisualBasic.Financial' and 'System.Numeric.Financial'

Source Error:


Line 233:        double dbltotMorValue1 = -(double.Parse(txt_mortgageamt.Text.Replace(",", "").Replace("$", "")));
Line 234:
Line 235:        double dtotal1 = Math.Round((Financial.Pmt(dblCurrentrare1, dblMortgageTerm1, dbltotMorValue1, 0, 0)), 2);
Line 236:        lblCurrentPayment.Text = "$" + dtotal1.ToString("##,##0.00");
Line 237:        CalculateDILSavingRent();

Source File: c:\home\site\wwwroot\51_calculator_EqtyBldDownload.aspx.cs    Line: 235






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0