Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP OpenVMS Systems Documentation

Content starts here

HP OpenVMS DCL Dictionary


Previous Contents Index

F$CUNITS

Converts a number from one specified unit of measure to another.

Format

F$CUNITS (number [,fron-units, to-units])

Return Value


A number representing the converted value.

Arguments

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.

Example


$ 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

 

Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2012 Hewlett-Packard Development Company, L.P.