Your SAS encoding does not match the one of your csv file. Use a fitting encoding= option in the infile statement.
I think @Kurt_Bremser has already solved your problem.
Also, welcome to the SAS communities 🙂 In the future, when you post a question, please do not use headlines like "URGENT HELP PLEASE". The answer will come no sooner from capitalizing 🙂 Use a descriptive title for your problem and help will come sooner than you know it.
OK thanks.
You might also post a few rows of your CSV file and explain where the decimal issue occurs.
Note: examining CSV files with a spreadsheet program such as Excel is taking chances with what you will see. Excel may be assuming you don't want to see the decimal portion due to the range of the values. Also you might be running into a national language difference where decimal and comma are treated differently than you expect in either SAS or a spreadsheet program.
If you saved the data from a spreadsheet program you may want to rerun the export as spreadsheets are also known to convert certain types of values without telling you.
Hello and thank you for all your answers. I tried but it didn't work. I was forced to edit my. csv file in Excel. And with regard to commas, SAS has rounded by default or excess numbers. Only that I do not know if this is the right method. I specify that I am a beginner in SAS
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.