I'm using ModelBuilder and have three variables (var1, var2 and var3) which I want to use to calculate a new value. This value should be used as an input for the "Minus" tool. The calculation to be performed looks like this:
NewValue = var1 + (var2 / 2 / var3)
When calculating this manually for var1 = 2, var2 = 2 and var3 = 3 I get 2.333... (2 + (2 / 2 / 3))
When using the "Calculate Value" tool I get: 2
I was forced to use the data type "Formulated Raster" as output for "Calculate Value" because it seems to be impossible to use the output as an input for the "Minus" tool otherwise. Maybe this is the reason for the rounding.
So I tried using the "Raster Calculator" instead but this just leads me to an error message I don't understand:
How can I get my Model to calculate and use the correct value of 2.333...?