Post Reply 
Base conversion (including fractional parts)
01-27-2017, 10:19 PM
Post: #3
RE: Base conversion (including fractional parts)
(01-27-2017 08:57 PM)compsystems Wrote:  Radix, Very good program

I was not able to find a program named Radix in the HP Prime software library. Do you have a link?


Quote:an idea

To start choosing the style

1: single [input / output] field (current)

2: two separate [input] / [output] fields, To view or compare conversion

3: an option with text (bases more known or useful)

BINARY 2
OCTAL 8
DECIMAL 10
DUDECIMAL 12
HEXADECIMAL 16
VIGECIMAL 20
SEXAGECIMAL 60
https://en.wikipedia.org/wiki/Radix

4: separate in the case of hexadecimal numbers the outputs in pairs for easier reading
FF 8F 0F

I will leave these ideas for others to implement. I usually hate doing UI design :-)

Quote:5: lowercase support ff8f0f

Lower case letters are actually used as digits for bases 37 through 62, so this would cause a conflict if we were to use lower case letters as alternatives to capital letters. I suppose that we could allow for lower case letters for digits only in the cases where the base is 36 or less. A simple test of the base, along with a conversion to upper case would be more than sufficient. But again, this is a "UI" option I'll leave to folks who are not as lazy as myself. :-)

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Base conversion (including fractional parts) - Han - 01-27-2017 10:19 PM



User(s) browsing this thread: 1 Guest(s)