The value is not 0.03
, it is as shown in the debugger - 0.0299999993
.
It shows as 0.03000
in the log because by default, %f
shows 5 decimal places so the value 0.0299999993
is being rounded to 0.03000
.
Change the log to use %.10f
and you will see the real value.