✔ 最佳答案
二進制 :
623/2 = 311 餘數是 1
311/2 = 155 餘數是 1
155/2 = 77 餘數是 1
77/2 = 38 餘數是 1
38/2 = 19 餘數是 0
19/2 = 9 餘數是 1
9/2 = 4 餘數是 1
4/2 = 2 餘數是 0
2/2 = 1 餘數是 0
故 623 (base 10) = 1001101111 (base 2)
0.513 * 2 = 0.026 + 1
0.026 * 2 = 0.052 + 0
0.052 * 2 = 0.104 + 0
0.104 * 2 = 0.208 + 0
0.208 * 2 = 0.416 + 0
0.416 * 2 = 0.832 + 0
0.832 * 2 = 0.664 + 1
0.664 * 2 = 0.328 + 1
故 0.513 (base 10) = 0.10000011... (base 2)
623.513 (base 10) = 1001101111.10000011.. (base 2)
八進制/十六進制的做法一樣, 只是由 2 改為 8/16 便可.
623.513 (base 10) = 1157.4065... (base 8)
623.513 (base 10) = 26F.8353... (base 16)