[next] [previous] [contents]

  15.3 Printing Numbers
  With the PRINT USING statement, you can specify:

  .
        The number of digits to print, thus rounding the number
        to a given place
  .
        The decimal point location, thus vertically aligning num-
        bers at the decimal point
  .
        Special symbols, including trailing minus signs (-),
        asterisk-filled number fields, floating currency symbols,
        embedded commas, and E notation
  .
        Debits and credits
  .
        Leading zeros or leading spaces
  .
        Blank-if-zero fields
  .
        A special character that is to be printed as a literal

  Unlike the PRINT statement, PRINT USING does not au-
  tomatically print a space before and after a number. Unless
  you reserve enough digit positions to contain the integer por-
  tion of the number (and a minus sign, if necessary), BASIC
  prints a percent sign ( % ) to signal this condition and displays
  the number in PRINT format.