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

Methods pred and succ

These two methods work similar to how they work on an integer value. The integer part is returned, incremented or decremented, while the floating part is unchanged, as shown as follows:

say 3.14.pred; # 2.14
say 3.14.succ; # 4.14
主站蜘蛛池模板: 若羌县| 廉江市| 彭泽县| 竹山县| 达孜县| 自贡市| 辉县市| 修水县| 青阳县| 遵化市| 康马县| 衡南县| 宁波市| 肥城市| 蒙城县| 琼中| 康乐县| 南川市| 富民县| 汝阳县| 鸡泽县| 安陆市| 遂平县| 庆元县| 沧州市| 漳浦县| 康定县| 嘉善县| 和硕县| 壶关县| 上蔡县| 嘉禾县| 买车| 玉屏| 天台县| 泗水县| 昌邑市| 平遥县| 莒南县| 丘北县| 东丽区|