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

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.

主站蜘蛛池模板: 栾城县| 乌什县| 延吉市| 伊金霍洛旗| 德格县| 隆德县| 新巴尔虎左旗| 新郑市| 永平县| 罗江县| 庄浪县| 长宁县| 凉城县| 鄂托克旗| 巴彦淖尔市| 聊城市| 台南县| 兖州市| 临洮县| 五台县| 天祝| 商南县| 星子县| 西丰县| 阳朔县| 林甸县| 志丹县| 叶城县| 垣曲县| 仙桃市| 滦南县| 宝山区| 祁东县| 丰宁| 义乌市| 涟源市| 延川县| 柳林县| 淮北市| 吉安县| 郯城县|