Command Prompt for Windows




Command Argument Numbers

When specified in the documentation a number may either be :-

  1. a whole number (ie. integer) or
  2. a floating point number (ie. real)

Integers

Integer numbers are comprised of digits and may include an optional sign :-

[ + | - ] dddd

For example, 255, -9223372036854775808 and 9223372036854775807 are all valid integer values.

Similarly, integers may also be specified as a hexadecimal (base 16) number by preceding the number with the characters "0x" :-

[ + | - ] 0xdddd

or as an octal (base 8) number by preceding the number with the character "0" :-

[ + | - ] 0dddd

Reals

Real numbers are comprised of digits and a decimal point. Real numbers may also include an optional sign and an exponent :-

[ + | - ] dddd.dddd [ e [ + | - ] [ddd] ]

For example, 4294967296.0, 3.14159265359 and 1.71122452428e+98 are all valid real numbers.