Previous Topic

Next Topic

Book Contents

Book Index

BFNUME – Convert European Style Numbers

The BFNUME process changes numbers from various European formats (for example, 1.000, 1.000,00, $1000 or 1.000CR) to standard mathematical format (1000.00 or –1000.00) for purposes of calculation and comparison.

Formats accepted by the BFNUME process are:

Note: In European format, the decimal separator is a comma and the thousands separator is a period. In non-European format, the usage of period and comma are reversed. To convert non-European format numbers, see BFNUM – Convert Formatted Numbers.

The BFNUME process is performed according to the following steps:

  1. Blanks, periods, dollar signs, cent signs, and asterisks are removed from the extracted data.
  2. Control-M/Analyzer determines if the number is negative or positive. A number is negative if:

    A number is positive if:

  3. If the result is blank, Control-M/Analyzer assumes the number is zero.
  4. If the number starts with a comma, Control-M/Analyzer inserts a zero before the comma (for example,  ,75 is modified to 0,75).

    Table 228 BFNUME – Convert European Style Numbers Example

    PROCESS Name

    Input

    Output

    BFNUME

    123,45

    123.45

    BFNUME

    (1.345,2)

    -1345.2

    BFNUME

    $***,12CR

    -0.12

    BFNUME

    $**1.344.567,23CR

    -1344567.23

Parent Topic

DO EXTRACT Processes