I'm using the worksheetfunction.roundup function in my VBA code and it seems to be spitting out a bogus answer. Here is an example code that recreates the problem:
Debug.Print WorksheetFunction.RoundUp(0.091, 2), WorksheetFunction.RoundUp(0.091, 2) = 0.1
The result in the immediate window is "0.1 False"
I would expect the result to be "0.1 True".
When I use the same function in a workbook "=ROUNDUP(0.091,2)=0.1" instead of with VBA code, I get the "True" as the result. Is this a known issue? Is there a VBA workaround?