In reply to Sowmya Rathnakaram.

Hi Sowmya,

You can easily extract decimal digits, for example:

data _null_;
x = 12.3456;
d = scan(put(x,10.4),2,'.');
put d=;
run;