< Gambas 
 
        
      Basic Arithmetic Operations
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))
    This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.