J********J 发帖数: 571 | 1 用'00XX'x试了半天都没有.请问哪位知道?谢谢了 |
J********J 发帖数: 571 | |
L****n 发帖数: 3545 | 3 ge le for example if x ge 5 then y = blah blah .....
【在 J********J 的大作中提到】 : 用'00XX'x试了半天都没有.请问哪位知道?谢谢了
|
J********J 发帖数: 571 | 4 Thanks for the reply. I was asking how to imput "≤", "≥ " as values, not
an expression.
For example; if age >= 50 then agegrp = "Age ≥ 50 ";
Anybody knows? |
C*******d 发帖数: 80 | 5 You can code as: if age >= 50 then agegrp = 1; etc.
Then use proc format to display 1 as "Age ≥ 50 "
Hope it helps.
【在 J********J 的大作中提到】 : Thanks for the reply. I was asking how to imput "≤", "≥ " as values, not : an expression. : For example; if age >= 50 then agegrp = "Age ≥ 50 "; : Anybody knows?
|
J********J 发帖数: 571 | 6 Thanks for replying.
If you copy and past ≤ ≥ into SAS editor you will see what I mean.
SAS won't display ≤ ≥ correctly in editor. Values like tempareture unit, C
or F with a circle to the right top corner, need unicode to let SAS
recoginze. The problem is I couldn't find the right unicode to display ≤ ≥
. |
C*******d 发帖数: 80 | 7 http://en.wikipedia.org/wiki/List_of_Unicode_characters#Mathema
Mathematical Operators,the unicode is there. But,I can not get it right in
SAS dataset. You may want use '>=' instead?
C
【在 J********J 的大作中提到】 : Thanks for replying. : If you copy and past ≤ ≥ into SAS editor you will see what I mean. : SAS won't display ≤ ≥ correctly in editor. Values like tempareture unit, C : or F with a circle to the right top corner, need unicode to let SAS : recoginze. The problem is I couldn't find the right unicode to display ≤ ≥ : .
|
b********6 发帖数: 14 | |
J********J 发帖数: 571 | 9 Thanks, CherryRed.
To bridge0006, I don't think macro var would work if SAS couldn't recognize
the unicode for ≤ ≥ . |