07-05-2017 09:04 PM
Hi SAS Users,
Today I came across very weird issue in SAS. I just multplied two floating point values and the result is not accurate to actual values.
If we calculate 0.014x88683.537=1241.569, but SAS give different answer.
07-05-2017 09:16 PM
Use a format like best16. instead of 5.3 and 12.3 and you will get values closer to the true values. Multiple them and see if you get something closer to the expected results.
07-05-2017 10:03 PM
SAS gives the correct answer for your example.
putlog x= 32.16;
for a calculation with many more digits than SAS or your calculator will display.
Need further help from the community? Please ask a new question.