Home >Backend Development >PHP Tutorial > (245)八 的八进制展开是多少啊(8是下标)

(245)八 的八进制展开是多少啊(8是下标)

WBOY
WBOYOriginal
2016-06-13 12:40:361905browse

(245)8 的八进制展开是多少啊(8是下标)
如题。


为什么1和2结果不同

1

<br />
2*8^2 + 4*8^1 +5<br />
128+32+5<br />
结果:165<br />
<br />



2
<br />
245 = 8*30 +5<br />
30  = 8*3  +6<br />
3   = 8*0  +3<br />
结果:365<br />

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn