Is there any SAS output format for Celcius Temperature?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 9
Accepted Solution

Is there any SAS output format for Celcius Temperature?

Hello everyone!

 

I was working on a school project of mine, where I have a variable recording the temperature, in Celcius. I was looking for an output format where I can add the " ℃ " symbol in front of every temperature value, just like we can do with the dollar sign.

 

I couldnt find anything on the Internet, either because I was using the wrong comnination of keywords, or it wasn't thereSmiley Frustrated.

 

Here is a picture of my data. Ignore the title, I now it says "Fahrenheit" there, but I was going to fix that later after getting the bulkwark of my project done Smiley Very Happy

 

RtZVU.png

 

Any advice on how to add the ℃ symbol would be greatly appreciated, thanks fr your time !!Smiley Very Happy


Accepted Solutions
Solution
‎04-03-2017 11:10 PM
Super User
Posts: 19,105

Re: Is there any SAS output format for Celcius Temperature?

You can try a PICTURE format with or without a custom function.

 

This describes how to get the special symbols:

http://www.lexjansen.com/pharmasug/2010/CC/CC19.pdf

View solution in original post


All Replies
Solution
‎04-03-2017 11:10 PM
Super User
Posts: 19,105

Re: Is there any SAS output format for Celcius Temperature?

You can try a PICTURE format with or without a custom function.

 

This describes how to get the special symbols:

http://www.lexjansen.com/pharmasug/2010/CC/CC19.pdf

Occasional Contributor
Posts: 9

Re: Is there any SAS output format for Celcius Temperature?

Hi Reeza,

 

Thanks for the advice! It works now after I toyed with it a bit Smiley LOL

Super User
Posts: 19,105

Re: Is there any SAS output format for Celcius Temperature?

If you could past the actual solution you came up with that would be great. And change the correct answer to that post as well Smiley Happy 

 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 130 views
  • 0 likes
  • 2 in conversation