久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      php 字符串怎么轉(zhuǎn)八進(jìn)制數(shù)

      在PHP中可以通過decoct函數(shù)將十進(jìn)制轉(zhuǎn)八進(jìn)制,其語法如“decoct(int $number);”,參數(shù)“$number”表示所要轉(zhuǎn)換的十進(jìn)制數(shù)字,并且所能轉(zhuǎn)換的最大數(shù)值是十進(jìn)制的4294967295。

      php 字符串怎么轉(zhuǎn)八進(jìn)制數(shù)

      本文操作環(huán)境:windows7系統(tǒng)、PHP7.1版,DELL G3電腦

      php 字符串怎么轉(zhuǎn)八進(jìn)制數(shù)?

      十進(jìn)制轉(zhuǎn)八進(jìn)制:

      函數(shù):decoct(int $number);

      @param $number 所要轉(zhuǎn)換的十進(jìn)制數(shù)字,所能轉(zhuǎn)換的最大數(shù)值是十進(jìn)制的4294967295,其decoct()結(jié)果為 "37777777777"。

      @return 返回一個(gè)包含有給定$number參數(shù)的八進(jìn)制表示的字符串。

      函數(shù)說明:

      decoct() 函數(shù)所能轉(zhuǎn)換的最大十進(jìn)制數(shù)數(shù)值為4294967295,其結(jié)果為 "37777777777"。

      范例:

      <?php     echo  decoct ( 10 ) . "n" ;     echo  decoct ( 50 );

      以上程序語句會(huì)依次輸出:12, 62

      推薦學(xué)習(xí):《PHP視頻教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)