Stephan van Hulst

Saloon Keeper

Posts: 7817

142

Alex Shin

Greenhorn

Posts: 4

posted 1 year ago

A 99 in decimal is equal to 143 in octal... but that is not what you are asking the method to return. You are asking the method to return the number in decimal that is equal to 99 in octal.

What number should be returned? ... meaning what number in decimal is equal to 99 in octal?

Henry

- 1

Alex Mma wrote:But when I using programmer calculator, 99 in octal number equals 143, why is that??

A 99 in decimal is equal to 143 in octal... but that is not what you are asking the method to return. You are asking the method to return the number in decimal that is equal to 99 in octal.

What number should be returned? ... meaning what number in decimal is equal to 99 in octal?

Henry

posted 1 year ago

Thanks Norm. Have a cow.

Alex,

Please read this...

http://www.coderanch.com/t/660346/Wiki/Forthright-Cross-Posting-Sites

Henry

Thanks Norm. Have a cow.

Alex,

Please read this...

http://www.coderanch.com/t/660346/Wiki/Forthright-Cross-Posting-Sites

Henry