BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jamie
Calcite | Level 5

Hi huys

I have a character variable which is 18 numbers long and want to convert to numeric.

When using the inout function the value is changing. Can anyone advise the best way to do this?

Many Thanks

Jamie

1 ACCEPTED SOLUTION

Accepted Solutions
art297
Opal | Level 21

Yes.  Don't!  You can't go beyond 16 digits on a pc or 17 on a mainframe.  Take a look at: http://support.sas.com/techsup/technote/ts654.pdf

View solution in original post

2 REPLIES 2
art297
Opal | Level 21

Yes.  Don't!  You can't go beyond 16 digits on a pc or 17 on a mainframe.  Take a look at: http://support.sas.com/techsup/technote/ts654.pdf

Jamie
Calcite | Level 5

Thank you sir

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1753 views
  • 0 likes
  • 2 in conversation