Previous | Contents | Index |
Converts a number from one specified unit of measure to another.
F$CUNITS (number [,fron-units, to-units])
number
Specifies a 32-bit (or smaller) number to convert.from-units
Specifies the unit of measure from which to convert. Currently, it is optional to specify this argument, because the only supported option for this field is blocks.to-units
Specifies the unit of to which to convert. Currently, it is optional to specify this argument, because the only supported option for this field is bytes.
$ WRITE SYS$OUTPUT F$CUNITS(554778, "BLOCKS", "BYTES") 270.88MB |
This example converts 554778 blocks to the equivalent in bytes. The result is 270.88 MB.
Previous | Next | Contents | Index |