# Using Math Operators : Math Operators « Language Basics « Ruby

- Ruby
- Language Basics
- Math Operators

Using Math Operators

value = 3
puts value
value = value + 3 #addition
puts value
value = value / 2 #division
puts value
value = value * 3 #multiplication
puts value
value = value ** 2 #exponentiation
puts value

### Related examples in the same category