📜  如何将 21 转换为八进制 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:11.093000             🧑  作者: Mango

代码示例1
#To convert from decimal to ocatal value, divide by 8, along with reminders
#ie, 21/8 = reminder -> 2, reminder -> 5, there fore octal number = (25)8.
#Hope it helps:)