From: SAS_learner on
Hello all,

In the Process of making the graph coordinates I am calculating the Min and
Max in the Axis one I am doing something like this. Is there way (General
rule) to find out the nearest multiple of 10 , I mean if the Min is 42 then
I want value 50 , if it is 52 then I want value to 60. so that when I
divide with 10 I get reminder as 0 . I hope I am clear what I am asking

_________________________________________________________

16 Proc Sql Noprint ;
17 Select FUZZ(Ceil(Min(max))) ,
18 FUZZ(Ceil(Max(max)))
19 into : Min_y ,
20 : Max_Y
21 From Best;
22 %put &min_y &max_y ;
-70 142
23 Quit;

axis1
label=(a=90 H=3 "Percent Change")
VALUE=(H=2)
ORDER=(&min_y. TO &max_y. BY 10)
WIDTH=1
MINOR=NONE
;
 | 
Pages: 1
Prev: Price Info
Next: Price Info