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

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.

主站蜘蛛池模板: 福建省| 清水河县| 澄城县| 旬阳县| 荣昌县| 大石桥市| 南充市| 东城区| 潜江市| 海城市| 蒙城县| 巩义市| 深圳市| 株洲县| 苏尼特左旗| 巴林右旗| 泾源县| 望谟县| 界首市| 清丰县| 吴忠市| 安阳县| 开封县| 长武县| 安达市| 孟州市| 和林格尔县| 庄浪县| 富裕县| 贵阳市| 洛隆县| 莱州市| 大姚县| 维西| 稻城县| 临澧县| 湘潭市| 三门峡市| 嘉峪关市| 遂宁市| 许昌县|