How to Print Hexadecimal Numbers in PHP or Java

后端 未结 5 1160
青春惊慌失措
青春惊慌失措 2021-01-02 02:27

I need to print some data (a little bit strange formatted). I was writing it in PHP with if ($num%10==9) but it was impossible for me to get correct output.

So take

5条回答
  •  借酒劲吻你
    2021-01-02 03:08

    
    
    01
    02
    03
    04
    05
    06
    07
    08
    09
    0a
    0b
    0c
    0d
    0e
    0f
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    1a
    1b
    1c
    1d
    1e
    1f
    20
    21
    22
    23
    24
    

提交回复
热议问题