Skip to content
Advertisement

avoid explicit cast to float?

Can

be written in a more compact way ?

Something like

?

Advertisement

Answer

To avoid an explict CAST to float, specify a floating point constant expression:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement