How to set type (precision) of operations inside a function?

This topic has come up more than once over the years. I don’t remember any great solutions beyond the suggestions to manage the types manually through casting.

2 Likes