<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    The NoteBook of EricKong

      BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
      611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks

    When you use PIC 9V9, COBOL assumes a decimal-point, and treats the number as a real(fractional) number with Integer-part before the decimal-pt and Fractional-part after the decimal-pt in all Arithmetic-Operations. 

    When you use PIC 9.9, COBOL does not treat it like a Real(Decimal) Number. The decimal-Point is merely used for display-formatting purposes, the '.' character is simply force-inserted in between the 2-digits. It does not tell COBOL to treat the number as Decimal-number.

    Image244

    In the above code, COBOL treats WS-A as 2.3, but WS-B as 23, in all
    arithmetic-Operations. When WS-A is displayed on the screen, it shows up as 23. WS-B shows up as 2.3, as you have forced a '.' symbol to be display between 2 and 3.

    Image245

    Also note that, WS-A occupies just 2-bytes of Storage space. WS-B on the other hand occupies 3-bytes of storage space, as you have force-inserted the decimal-point '.' character(which occupies 1 byte).

    posted on 2011-12-27 10:18 Eric_jiang 閱讀(191) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
    博客園   IT新聞   Chat2DB   C++博客   博問  
     
    主站蜘蛛池模板: 亚洲香蕉久久一区二区三区四区| 亚洲精品和日本精品| 色噜噜综合亚洲av中文无码| 一区二区3区免费视频| 免费吃奶摸下激烈视频| 亚洲av无码专区在线电影天堂| 成人福利免费视频| 亚洲a∨无码男人的天堂| 999久久久免费精品国产| 亚洲国产成人精品电影| 亚洲性线免费观看视频成熟| 亚洲一卡2卡4卡5卡6卡在线99 | 久久精品亚洲乱码伦伦中文| 一级毛片一级毛片免费毛片| av在线亚洲欧洲日产一区二区| 一级毛片高清免费播放| 亚洲一区二区三区AV无码| a毛片久久免费观看| 亚洲av午夜福利精品一区| 国产免费AV片在线观看| 久久亚洲国产成人精品性色| 毛片免费全部播放无码| 国产99在线|亚洲| 国产美女无遮挡免费网站| 午夜不卡AV免费| 亚洲成A人片在线观看无码不卡| 日日麻批免费40分钟无码| 国产精品亚洲片在线va| 四虎永久精品免费观看| 三根一起会坏掉的好痛免费三级全黄的视频在线观看 | 无码日韩精品一区二区免费暖暖| 亚洲最大福利视频网站| 女人18毛片特级一级免费视频| 色窝窝亚洲av网| 国产V亚洲V天堂无码| 99久久久国产精品免费无卡顿| 九九精品国产亚洲AV日韩| 亚洲人成网7777777国产| 最近免费中文字幕mv电影| 久久久久久亚洲av无码蜜芽| 亚洲乱码国产乱码精品精|