Decimal convert to any unit.

tips.

    first:  Interger part utilize by "短除法"

second:  Decimal part till to zero by times  as the converted unit.

 

Any unit convert to decimal.

tips.

first: You'd better convert unit to be binary (先轉成二進制).

second: If the unit is Hex and then you should take evrey four digits for a unit

            and then,in each unit cut up four digits .From the right-most count first  2^0 , 2^1 , 2^2 , 2^3 ......

 

 

 

 

 

 

 


arrow
arrow
    全站熱搜

    Brian 發表在 痞客邦 留言(0) 人氣()