I have written Apex code and VF page for uploading records for my custom object. While uploading the CSV file into system via programatically I am getting the error "Visualforce Error System.Type Exception: Invalid decimal".
Please refer the screenshot for more details. Usually this error is not coming but sometimes it comes. It throws an error in the particular line of (Line no-411) my Apex code " site.Estimated_Value__c = decimal.valueOf(inputsitevalues[9]);".
I have copied the records into other CSV file and then uploaded it works fine. I am not sure whether it is the File format issue or coding issue. Please help me out in this.