+ 1

Whats "*" means in ruby?

i do understand ruby but i do not know what this means cus im only in grade 6 :D

5th Jan 2018, 11:30 AM
XThelilcodegurlX
XThelilcodegurlX - avatar
3 odpowiedzi
+ 8
Its called an asterisk, used either for multiplications of numbers or for the exponentiation: https://www.sololearn.com/learn/Ruby/2712/
5th Jan 2018, 12:21 PM
Dev
Dev - avatar
+ 5
In coding: 2*2 =2×2 in real world
5th Jan 2018, 1:40 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
0
The asterisk means multiplication. (ex. 2*3- would be- 2x3)
7th Jan 2018, 7:08 AM
CamOliveira
CamOliveira - avatar