I am using the SAGA Raster Calculator in QGIS 2.6 to change NaN values to zero and that part is working great, however the specified 'if' value is being altered slightly. I have developed a work around but it seems a bit clumsy.
For example, I am using the following formula:
ifelse(eq(a,10), 10, 0)
yet when the the temporary file is created in QGIS the result ('Result' in the image below) appears as a raster with values from 0 to 9.99.
Through trial and error I have found that by using the following formula I can achieve the result I am looking for but it seems a bit clumsy.
ifelse(eq(a,10), 10.01001, 0)