Browse Prior Art Database

Number Converting Utility Computer Program

IP.com Disclosure Number: IPCOM000122370D
Original Publication Date: 1991-Dec-01
Included in the Prior Art Database: 2005-Apr-04
Document File: 2 page(s) / 59K

Publishing Venue

IBM

Related People

Beaton, CB: AUTHOR

Abstract

Described is a number-converting utility computer program which is designed to convert numbers from one base numbering system to another base number. The program is performed in a disk operating system (DOS) batch file and supports thirty-one different bases.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 56% of the total text.

Number Converting Utility Computer Program

      Described is a number-converting utility computer program
which is designed to convert numbers from one base numbering system
to another base number.  The program is performed in a disk operating
system (DOS) batch file and supports thirty-one different bases.

      Occasionally, a user is required to convert a number from one
base numbering system to another.  This can occur when a user does
not have a hexadecimal calculator or where an output contains a
number that is in the wrong base numbering system and must be
converted to a different numbering system and the environment must
remain automated, as in a batch file test case or real-time
situation.  The utility uses the following syntax:
d: Path NUMCONV->d: Path Filename.ext->Base of input->Base of output
                                           number number
where 'NUMCONV' is the converted number; 'Filename.ext' is the input
file that contains the number to convert; 'Base of input' and Base of
output' numbers is the base of the number as it currently is and is
the input number.  The output number is the base the number should be
in.  Both can be any number from 2 to 32 and can even be the
same number, if necessary.

      The most common applications are the conversion between binary-
Base 2, octal-Base 10 and hexadecimal-Base 16.  For example, a file
named INPUT.in contains 4CA19; NUMCONV Input.in 16 10.  T...