SAS macro convert integer to hexidecimal string -


मान लीजिए मेरे पास निम्न मैक्रो वैरिएबल असाइनमेंट है:

 % x = 42165;  

मैं संबंधित हेक्स स्ट्रिंग प्रतिनिधित्व कैसे प्राप्त करूं? यही है, मैं & amp; x को कैसे रूपांतरित कर सकता / सकती हूं और उसे & amp; y में संग्रहीत कर सकता / सकती हूं

 % put y = & amp; y ;  

लिखते हैं

  y = A4B5  

?

इस तरह से:

 % y =% sysfunc (putn (& amp; x, hex4।));   

[मुझे लगता है कि % put मैक्रो स्टेटमेंट के साथ confustion से बचने के लिए % put () मैक्रो फ़ंक्शन नहीं है।]


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -