SIZEKw.d Format

Writes a numeric value in the form nK for kilobytes.

Category: Numeric
Alignment: Right

Syntax

SIZEKw.[d]

Arguments

w

specifies the width of the output field.

Default 9
Range 2–33

d

specifies the number of digits to the right of the decimal point in the numeric value.

Default 0
Range 0–31

Details

To write a numeric value in the form nK by using the SIZEKw.d format, the value of n is calculated by dividing the numeric value by 1,024. The symbol K indicates that the value is a multiple of 1,024.

Example

Statements
Results
----+----1
select put (1024, sizek.);
1K
select put (200943, sizek.);
197K

See Also