RUBY Using NUMBERS
282 views · Published 15 October 2013 · 2:45 · Indexed 15 October 2026
Channel: theurbanpenguin · 2013 · Education
More videos like this online at http://www.theurbanpenguin.com Arithmetic calculations with integers will only produce integers in ruby. If we want more accuracy then we can use floats. 7 / 4 will give 1 but if one integer is changed to a float 7.0 / 4 we get 1.75
More from this channel
-
8:44
Bash History Demo
-
8:39
A bash script to backup the MBR of all drives
-
9:40
Using SQUID to implement time restrictions . Captions Avaiable
-
6:24
Creating Desktop Shortcuts
-
8:58
Scripting Apache Virtual Hosts
-
5:25
Accessing The Linux Command Line
-
8:42
Managing Global Gnome Settings
-
2:40
NFSv4 Crossmnt Option