Hi, I'm trying to lookup a decimal value from a dataset. I get an integer in return.
-Am I doing something wrong?
see attached screenshot:
Hi, I'm trying to lookup a decimal value from a dataset. I get an integer in return.
-Am I doing something wrong?
see attached screenshot:
The user manual lookup
page states:
lookup(dataset, lookupValue, noMatchValue, [lookupColumn], [resultColumn])
Note: The type of the value returned will always be coerced to be the same type as the noMatchValue.
So your expression
lookup({Root Continer.Table 2.data}, 'Decimal Value 4.4', -99)
reads,
https://docs.inductiveautomation.com/display/DOC81/lookup
Try changing the default to -99.0
.