Gambas/Arithmetic
Appearance
< Gambas
Basic Arithmetic Operations
[edit | edit source]It's similar to other programming languages.
Use the Float
datatype when you calculate values!
Dim x As Float
Dim y As Float
x = 0.32
y = x - (0.32 - 0.32 ^ 3 / (2 * 3))