What is the logic behind the PUT function to convert a numeric variable to character variiable? consider two examples; data temp; value = 0.5500; value1 = put(value, 16.1); run; the above code correctly prints the value of value1 as 0.6 in the output dataset. But in some scenarios, the value1 in the output dataset is being printed as 0.5(gets truncated instead of rounding). I couldnt identify where the issue is. could someone please help? Thanks.
... View more