官术网_书友最值得收藏!

Summary

This chapter covered some of the critical features of the Ruby language. We walked through the arithmetic operators and the order of operations for arithmetic functions in Ruby. These operators will allow you to perform every combination of computational calculation in your program. We also analyzed the difference between integers and decimals (also referred to as floats), which may not seem like a critical topic; however, an entire NASA rocket was lost due to choosing the incorrect numerical data type, resulting in a loss of millions of dollars!

In the next chapter, we're going to start diving into Ruby methods.

主站蜘蛛池模板: 左权县| 湘西| 刚察县| 新建县| 衡东县| 巩义市| 虎林市| 凤台县| 阜新市| 阿拉尔市| 鄂温| 荃湾区| 贵阳市| 合肥市| 汉川市| 永寿县| 饶平县| 淳化县| 肥东县| 杨浦区| 夏津县| 廉江市| 基隆市| 禹城市| 黄骅市| 海林市| 诸城市| 确山县| 连平县| 太康县| 扶风县| 四子王旗| 竹溪县| 阳信县| 寿宁县| 德州市| 抚远县| 博客| 集贤县| 桃园县| 蕉岭县|