Kā aprēķināt Number Base Converter
Kas ir Number Base Converter?
Positional number systems use a base (radix). Base 10 (decimal): 0–9; Base 2 (binary): 0–1; Base 16 (hexadecimal): 0–9 and A–F. Computers operate in binary; hex is shorthand for binary in programming.
Soli pa solim ceļvedis
- 1To decimal: digit × base^position, summed
- 2From decimal: repeatedly divide by base, collect remainders
- 3Each hex digit = exactly 4 binary bits
Worked Examples
Ievade
Binary 11111111
Rezultāts
Decimal 255 · Hex FF · Octal 377
255 = 2⁸ − 1
Vai esat gatavs aprēķināt? Izmēģiniet bezmaksas Number Base Converter kalkulatoru
Izmēģiniet to pats →