EnglishFrenchSpanish

OnWorks favicon

numconv - Online in the Cloud

Run numconv in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command numconv that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


numconv - convert numbers from one number system to another

SYNOPSIS


Numconv <options>

DESCRIPTION


numconv is a filter that converts integers from one number system to another. For
example, it can convert from Roman Numerals such as "CCLVI" to ordinary Western numbers
such as "256" or from Western numbers to Chinese. The great majority of number systems,
both modern and ancient, are supported, including numerous variants.

If the input number system is 'all', the number system will be autodetected.

numconv is a command line interface to libuninum a library for converting between textual
representations of numbers and machine-internal representations. Further information about
the conversions performed is available in the documentation for this library.

OPTIONS


-i <input file>
Read input from the specified file.

-o <output file>
Write output into the specified file.

-I Identify the number system of the input.

-c List the available number system cover terms.

-l List the available number systems.

-f <input number system>
Specify the number system of the input.

-t <output number system>
Specify the number system of the output.

-b <input base>
Specify the input base for Western numbers. The base must be in the range [1,36].

-B <output base>
Specify the output base for Western numbers. The base must be in the range [1,36].

-g <output general group size>
Specify the size of digit groups other than the ow-order group. The default is 3.

-G <output low group size>
Specify the size of the low-order group of digits. The default is 3.

-s <output group separator character>
Specify character to use as "thousands separator". The default is a comma.

-L Set the output grouping parameters, general group size, first group size, and group
separator character, according to the current locale.

-m When generating Roman numerals, use unit characters with superscript macron for
thousands greater than one instead of Ms.

-h Print help information.

-v Print version information.

EXAMPLES


To convert from Roman Numerals to ordinary Western numbers:

numconv -f Roman -t Western_Lower

To convert from ordinary Western numbers to the variety of number in current use in the
People's Republic of China:

numconv -f Western -t Mandarin_Regular_Simplified

To convert from ordinary Western numbers to Western numbers in base 2:

numconv -f Western_Lower -t Western_Lower -B 2

To convert from Urdu numbers to Hindi numbers with the traditional Indian grouping:

numconv -f Perso_Arabic -t Devanagari -g 2

Use numconv online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad