Code center > Suggestions
Call to Programmers
Greven:
It should give (in your notation) => 9.15 (9F in real hexidecimal) - were each '.' is a seperator for the numbers.
Zelos:
I know y it dont, we have only 10 numbers, but ure asking it to use numbers that dont exist, this one made for those lower than 10. but I´ll upgrade it to handle more ones
Greven:
No not use numbers that doesnt exists, but to use decimal notation when writing the numbers in another base.
Explain how 105 == 159, explain how I should interprent 105?
9.15 means that 9*16^1 + 15*16^0 = 159 in decimal!
Zelos:
yes I know, well its fixed now so it can handle all number bases upto hexadecimal.
the explination is that it want to say 10 and 9
in the new math that would be A9, but it puts them toghater as one, so we see it as 109 but it should be 10 9 (A9)
Numsgil:
Well I'm impressed. I assume then this isn't your first language? Especially if you know how to convert bases, then you've probably taken a computer class or two.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version