Short: V1.22 convert numbers (roman also)
Author: stoecker@amigaworld.com (Dirk Stoecker)
Uploader: stoecker amigaworld com (Dirk Stoecker)
Type: util/conv
Version: 1.22
Architecture: m68k-amigaos
Kurz: Konvertiert Zahlen (auch roemisch)
This program can convert numbers between decimal, hexadecimal, octal,
binary and roman number format. Additionally also ASCII chars are printed,
so ASCII to dec/hex and reverse is also possible. It supports negative
numbers for input as well. It displays ten number conversions together.
You have buttons, menus and mx radio buttons to select the wanted input
type. (A=ASCII, B=Binary, D=Decimal, H=Hexadecimal, O=Octal, R=Roman).
For CLI start you have same characters as keywords. Multiple inputs are
allowed for CLI start.
To enter more than one number in one pass, you need to sperate the numbers
by a | (123|454 enters both 123 and 454). More than 10 inputs are useless,
as ConvertNum only shows ten lines.
ConvertNum also prints a negative form for decimal numbers. USE THIS WITH
CARE. The results are useful only for real negative numbers! For computer
variables the negative numbers are marked by setting their first bit to 1.
But because the first bit may be the 8th, 16th or 32nd, it is not easily
possible to find the negative number. ConvertNum takes the first bit it
finds as negative marker. For positive numbers the output is useless
thus. :-)
Roman numbers are read in any possible format, but printed in shortest
format always. So an input numbers needs not to be printed as same in
output (XIIII is printed as XIV). Roman numbers cannot exceed 3888, as only
3 chararcters are allowed and M (=1000) is the highest. ConvertNum prints
roman number part below 3888 and adds a decimal number before that showing
number of missing M's.
So 3³MMMC means decimal 6100, which may be written as MMMMMMC.
Disadvantages:
- it wont run on NTSC HiRes, as it needs at least 234 pixels window height
- it always uses Topaz8-Font
Please contact me:
************************************************************************
* snail-mail: * e-mail: *
* Dirk Stoecker * stoecker@amigaworld.com *
* Geschwister-Scholl-Str. 10 * dstoecker@gmx.de *
* 01877 Bischofswerda * world wide web: *
* GERMANY * http://home.pages.de/~stoecker/ *
* phone: * pgp key: *
* GERMANY +49 (0)3594/706666 * get with finger or from WWW pages *
************************************************************************