Hi,
If you post some test data in the form of a datastep we could provide working code. I am unsure as to why you need to convert a value before you check if it is 0 or not?
data want;
length want_text $20;
input myval;
want_text=ifc(myval=0,"",put(myval,percent7.1));
datalines;
0
0.345
;
run;
... View more