Custom Expression - Casting datatype

I have two source columns (A & B) in a postgre database of type Int. I created a custom expression A/B, the result of the custom expression is also type Int. Is there anyway to cast the calculation to return a float? e.g. 18/5 = 3 should be 18/5 = 3.6. I got around this by chaging the data types in the underlying tables from int to float but this is not ideal. Is there a better way? (using V32.8)
Thxs

Hi @brianwilson
Sounds like you’re experiencing this issue - go and upvote by clicking :+1: on the first post.
There’s a workaround by multiplying with 1.0000001, but that might not be an option for you.

thank you