Java in the ten-way hexadecimal mutual transfer

xiaoxiao2021-03-06  38

// decimal transformation into hexadecimal

Integer.tohexString (11); / / The result is B

// heel branch transformation into decimal

Long.Parselong ("B", 16) / / Result 11

转载请注明原文地址:https://www.9cbs.com/read-72298.html

New Post(0)