Entering content frame

 scale_spec 

Syntax Rules for Column Descriptions

Syntax

<scale_spec> ::= SCALE <valSCALE_FACTOR>

valSCALE_FACTOR

Scaling factor, can be positive or negative

The value to which the syntax rule refers is multiplied by the corresponding power of ten.

Use

You can scale values using this syntax rule.

You can combine this syntax rule with round_or_trunc_spec.

DATALOAD TABLE distance
  ...
  cm 7 SCALE 2
  cm 7 SCALE -3
...
INFILE 'meter.data'

DATAEXTRACT * FROM
  cm    10-14 INTEGER SCALE 2
  m     14-17 INTEGER
  km    18-21 INTEGER SCALE -3

OUTFILE 'dimensions.bin' FORMATTED

Leaving content frame