As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Difference between revisions of "Tips:Represent numerics as strings with no loss of precision"

From sasCommunity
Jump to: navigation, search
(Promoting to Tip_Ready; Good job!)
(Scheduled February 9, 2010)
Line 4: Line 4:
  
 
<noinclude>
 
<noinclude>
[[Category:Tip Ready]]
+
[[Category:Tip in Use]]
 
[[Category:Data Representation]]
 
[[Category:Data Representation]]
 
</noinclude>
 
</noinclude>

Revision as of 21:59, 6 February 2010

Sometimes it is necessary to represent a numeric value as a string, then later extract it. Probably the most common such scenario is when the value is passed in a macro variable. Such a "round trip" can cause a loss of precision. One way to prevent that is to use hexadecimal representation.

....read more