As other have already remarked, macro numbers are always whole numbers. So you would have to do something else to get that number, e.g.
%macro table_result(V,threshold);
%local i;
%do i=10 %to &threshold.0 %by 5;
%macro2(&V,%substr(&i,1,%length(&i)-1).%substr(&i,%length(&i)));
%end;
%mend;
As you cannot have periods/decimal points in a normal SAS table name, you would have to do something else, one possibility is to use this syntax:
create table "table_&threshold"n
This will work, but you will have to refer to the table in the same way in your program, e.g. 'table_1.5'n
... View more