It's similar to other programming languages.

Use the Float datatype when you calculate values!

Float

Dim x As Float Dim y As Float x = 0.32 y = x - (0.32 - 0.32 ^ 3 / (2 * 3))