Page 1 of 1
Decimal to Nonary in Equation Form?
Posted: Mon Oct 05, 2009 1:18 pm
by Dakatsu
Does anyone know a way to convert decimal notation to nonary by mathematical equation?
Posted: Mon Oct 05, 2009 1:35 pm
by Foil
Nonary, as in \"base 9\"?
Re:
Posted: Mon Oct 05, 2009 1:36 pm
by Dakatsu
Foil wrote:Nonary, as in "base 9"?
Exactly
Posted: Mon Oct 05, 2009 1:37 pm
by Foil
It's just a
series of divisions.
... Oh, you mean a conversion which gives you an answer in decimal, you just
read it as nonary? (E.g. Plug in 100 in decimal, get \"121\"?)
Re:
Posted: Mon Oct 05, 2009 1:45 pm
by Dakatsu
Foil wrote:It's just a
series of divisions.
... Oh, you mean a conversion which gives you an answer in decimal, you just
read it as nonary? (E.g. Plug in 100 in decimal, get "121"?)
Thats what I want, I have no idea if such a thing is possible, but I did search around.
Posted: Mon Oct 05, 2009 3:05 pm
by Foil
Off the top of my head, I don't know of any straightforward equations. I think the calculation might have to be applied as a script.
Why wouldn't the division method suffice?
Posted: Mon Oct 05, 2009 3:26 pm
by Dakatsu
Short story: in my fictional universe, a side uses a nonary numeral system. The ammo counter on their weapons uses nonary, hence I'd want to have it displayed in nonary.
Pretty well I need a way to do it on a computer, with a decimal number in, and a nonary out.
Posted: Mon Oct 05, 2009 3:40 pm
by Foil
Oh, you just need an 'easy converter'.
Heck, just use one of the online conversion sites, or set it up in a spreadsheet, or better yet, just write a little program to do it. The division method will work fine.
Posted: Mon Oct 05, 2009 4:31 pm
by fliptw
make sure handle the right side of the decimal separately - which you multiply instead of dividing.
Posted: Tue Oct 06, 2009 5:07 pm
by Dakatsu
I guess I could just translate up to 999, shouldn't be too hard.
Thanks for the idea tho!