Define: does not work.
It does not round at all (so 3.14159 stays 3.14159) or you see digits behind the decimal point (3.14159 becomes 3.0000000000000001 or 2.9999999999999).
The latter is because you assign the result to a double and wether or not you see decimals depends on the method you use to display that double.
Bart