Having a problem rounding a number to the tenth decimal place. Using SAS V8.
Would expect to see a return of 325256.9529928644 but instead getting 325256.9529928640.
It's not like it's complex code so don't really understand. Could this be a bug?
Thanks
Nick
where would we be without rhetorical questions...
Code:
data Inputs;
input NoIn $50.;
datalines;
325256.95299286436284664885258
;
run;
data Rounded;
set Inputs;
format NoOut 32.10;
NoOut = round(NoIn,.0000000001);
run;
Would expect to see a return of 325256.9529928644 but instead getting 325256.9529928640.
It's not like it's complex code so don't really understand. Could this be a bug?
Thanks
Nick
where would we be without rhetorical questions...