Lookup Double or Float values

Hello,
I have a Expression tag to read a value using a Lookup function.
In the DB column the values show 0.4 Type Doble. But in the expression tag that read this value, show the integer value link 0. Both field are Double.

I need to change something in tag to work?

See some pic of configuration.

The lookup function uses the type of the ‘default’ value to determine what type to coerce all other arguments to. Try changing the literal 0 to 0.0, or toDouble(0) to ensure that the correct type is passed into the function.

1 Like

Thanks, works great now. Thanks for advice.