Ruby Programming – 2 – Arithmetic Operators Tutorial

Ruby Tutorial – basic math functions in Ruby. Ruby addition and subtraction. Ruby divide. Ruby lessons.



Twitter ►

YouTube ►

Facebook ►

SoundCloud ►

★☆★ NOTES ★☆★

· Arithmetic Operators

Operators Covered:
+ add
– subtract
* multiply
/ divide
** exponential ex. 10 x 10 x 10 =1000
% modulo ex. 10/3 = 1 (3 goes into 10 three times with a remainder of 1)


Pamela Howell says:

While I see you have 68 videos on YouTube, how many lessons exist so far in your Ruby series? Are all 68 Ruby related or is that total videos on all subject matter?

Wendelina Elbers says:

Hi Jacob. Just registered with you thx. I’m on lesson 2 for Ruby and just can’t get the arithmetic Komodo file to print in the cmdr window. I have ruby installed but when I copy and paste, all that happens is that komodo window opens up??

SpicyRaccoon says:

I dont like the way you breathe.

Traivan Von says:

Thanks you Jake from Cambodia, i am start basic i hope you will me more thank AKUN

amanuel hailu says:

i am really thankful for your ruby tutorials,i like it so much
is number 36 ruby tutorial the end or..?

Bartosz Szulc says:

This is rapid language and you make it so slow man ;((

Clorox Bleach says:

Hey you can get windows 10 for free on the Microsoft website for this year only

Tuck Tuck says:

I cannot do this in my new komod edit :(

Goldenboy Agape says:

great tutorial, thanks. When are you starting ruby on rails?

Anshad Ummer says:


LikeABousAblesGaming says:

I don’t understand the modulo can you please help me when you said 17 % 4 you said the remainder is 1 but when I devided 17 with 4 I got 4.25 so how is the remainder 1? I did see if I devide it with 4 again I get 1.0625 where the remainder is 1 is that how you got it?

Movie Reviews says:

um isnt two stars in coding/ruby __to the power of__

code 1000123 says:

Why are you not using the print command?
I test it and it works.

Dpschof says:

It was posted on my birthday!

sami fandi says:

Hello im new to ruby and komodo im not use to them, so my question is can i use note padd ++ or ???

Wayne Burbage says:

thank you


for some strange reason it says “no such file or directory” what do i do????

quynh nhu pham says:

hello , english is your native language??

RoTech404 says:

This is pretty good. I like how you start small and then build up. I even started to play around with some arithmetic operations. Thanks alot Jacob.

bebebebebebebebebebebeebebeb says:

Hello just want to know if you can design an item for me and the cost please

Autoshotjosh says:

I’ve got to admit, you are explaining this a lot better than most, i really appreciate this. And you changing the example of the modulo help me clarify what it actually was, thanks man!

Rahen Choudhury says:

It’s much faster if you use Unix Command in the cmd prompt. you do not need to drag the file everytime

Brian van vlymen says:

finally i understood module how it work! geez. thanks! 

Katy Martin says:

Hi M.r Williams :) I know nothing about programming.Can you please explain these questions for me?
1)Is it Ruby on Rails or just Ruby?
I don’t have so much free time to learn programming.I just have few months to learn programming cause i wanna take my chance and make a MVP for my Startup idea to see if it works or not.
2)Can i learn this for example in 7 or 8 months to make a MVP for my Startup idea?
Or i have to spend more times than 8 months to learn this?

Aady Aadil says:

well after variable where is the boolean integer float string ?

Tuck Tuck says:

I cannot save file in a new Komodo as a rb file, how can i do that ? PLEASE HELP

Ben Staunton says:

Christ. coming from c sharp makes ruby seem like the most laid back language out there.

Trell CEO says:

can you do a video on installing on windows 10 for ruby and the Rails

Write a comment


Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles   Show Cars   Motorbikes   Scooters   Bicycles   Rims & Tires   Luxury BoatsFashion   Sunglasses   Luxury Watches   Luxury Purses   Jeans Wear   High Heels   Kinis Swimwear   Perfumes   Jewellery   Cosmetics   Shaving Helpers   Fashion Hats   Modeling TipsFooding   Chef Club   Fooding Helpers   Coktails & LiquorsSports   Sport Shoes   Fitness & Detox   Golf Gear   Racquets   Hiking & Trek Gear   Diving Equipment   Ski Gear   Snowboards   Surf Boards   Rollers & SkatesEntertainment   DIY Guides   Zik Instruments   Published Books   Music Albums   Cine Movies   Trading Helpers   Make Money   Fishing Equipment   Paintball Supplies   Trading Card Games   Telescopes   Knives   Vapes   GameplaysHigh Tech   Flat Screens   Tech Devices   Camera Lenses   Audio HiFi   Printers   USB Devices   PC Hardware   Network Gear   Cloud Servers   Software Helpers   Programmer Helpers   Mobile Apps   Hearing AidsHome   Home Furniture   Home Appliances   Tools Workshop   Beddings   Floor Layings   Barbecues   Aquarium Gear   Safe Boxes   Office Supplies   Security Locks   Cleaning ProductsKids   Baby Strollers   Child Car Seats   Remote ControlledTravel   Luggages & Bags   Airlines Seats   Hotel Rooms   Fun Trips   Cruise Ships   Mexico Tours