BookmarkSubscribeRSS Feed
Amanda_Lemon
Quartz | Level 8

Hi all, 

I came across an issue of unexpected rounding when exporting a dataset to a csv file. Specifically, I am using proc export; then when checking the csv file, the number of decimals is not what it was before exporting for some values. For example, 10.895 is exported as 10.9, 45.42 as 45.4. This happens only to some values, meaning that other values are exported correctly. I was wondering if there is a way to stop SAS from rounding when exporting? 

Thanks in advance!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 57 views
  • 0 likes
  • 1 in conversation