Pyro Pilots Lounge. For all topics *not* covered in other DBB forums.
Moderators: fliptw , roid
Dakatsu
DBB Admiral
Posts: 1575 Joined: Mon Feb 20, 2006 12:22 am
Location: St. Petersburg, Florida
Post
by Dakatsu » Mon Oct 05, 2009 1:18 pm
Does anyone know a way to convert decimal notation to nonary by mathematical equation?
Foil
DBB Material Defender
Posts: 4900 Joined: Tue Nov 23, 2004 3:31 pm
Location: Denver, Colorado, USA
Contact:
Post
by Foil » Mon Oct 05, 2009 1:35 pm
Nonary, as in \"base 9\"?
Dakatsu
DBB Admiral
Posts: 1575 Joined: Mon Feb 20, 2006 12:22 am
Location: St. Petersburg, Florida
Post
by Dakatsu » Mon Oct 05, 2009 1:36 pm
Foil wrote: Nonary, as in "base 9"?
Exactly
Foil
DBB Material Defender
Posts: 4900 Joined: Tue Nov 23, 2004 3:31 pm
Location: Denver, Colorado, USA
Contact:
Post
by Foil » Mon Oct 05, 2009 1:37 pm
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\"?)
Dakatsu
DBB Admiral
Posts: 1575 Joined: Mon Feb 20, 2006 12:22 am
Location: St. Petersburg, Florida
Post
by Dakatsu » Mon Oct 05, 2009 1:45 pm
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.
Foil
DBB Material Defender
Posts: 4900 Joined: Tue Nov 23, 2004 3:31 pm
Location: Denver, Colorado, USA
Contact:
Post
by Foil » Mon Oct 05, 2009 3:05 pm
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?
Dakatsu
DBB Admiral
Posts: 1575 Joined: Mon Feb 20, 2006 12:22 am
Location: St. Petersburg, Florida
Post
by Dakatsu » Mon Oct 05, 2009 3:26 pm
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.
Foil
DBB Material Defender
Posts: 4900 Joined: Tue Nov 23, 2004 3:31 pm
Location: Denver, Colorado, USA
Contact:
Post
by Foil » Mon Oct 05, 2009 3:40 pm
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.
fliptw
DBB DemiGod
Posts: 6459 Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada
Post
by fliptw » Mon Oct 05, 2009 4:31 pm
make sure handle the right side of the decimal separately - which you multiply instead of dividing.
Dakatsu
DBB Admiral
Posts: 1575 Joined: Mon Feb 20, 2006 12:22 am
Location: St. Petersburg, Florida
Post
by Dakatsu » Tue Oct 06, 2009 5:07 pm
I guess I could just translate up to 999, shouldn't be too hard.
Thanks for the idea tho!