First: Your problem is in your logic. As you know -1 > - 2 so is -.124999999999999 > -.125 that is mean that when you say low - (-0.1) = 'A' -0.2 - (0) = 'B' you will get overlap, so you can not say low - -124999999999999 = 'A' -0.125 - (-0.624999999) = 'B' Second: you do not need () in format Finally: try this, it should work proc format; value V1format low - -0.875 = 'A' -0.874999999 - -0.625 = 'B' -0.624999999 - -0.375 = 'C' -0.374999999 - -0.125 = 'D' -0.124999999 - 0 = 'E' 0-0.1249999999 = 'F' 0.125 - 0.3749999999 = 'G' 0.375 - 0.6249999999 = 'H' 0.625 - 0.8749999999 = 'I' 0.875 - high = 'J'; run;
... View more