System.StdConvs.cbVolume

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

cbVolume: TConvFamily;

C++

extern DELPHI_PACKAGE System::Convutils::TConvFamily cbVolume;

Properties

Type Visibility Source Unit Parent
variable public
System.StdConvs.pas
System.StdConvs.hpp
System.StdConvs System.StdConvs

Description

The cbVolume variable designates units that measure volume.

Use the cbVolume unit variables as parameters to the Convert function to convert a cbVolume measurement to a different set of units. The StdConvs unit registers these cbVolume measurement units in the cbVolume family and assigns the resulting TConvType values to these global variables.

The interpretation of cbVolume measurements (ounces, gills, pints, quarts, gallons, pecks, bushels, and buckets) varies, depending on whether you are using American or British Imperial measurements. The vuFluidOunces, vuFluidGills, vuFluidPints, vuFluidQuarts, vuFluidGallons, vuDryPecks, vuDryBushels, and vuDryBuckets variables refer to the American units, while the vuUKOunces, vuUKGills, vuUKPints, vuUKQuarts, vuUKGallons, vuUKPecks, vuUKBushels, and vuUKBuckets variables refer to the British Imperial units. Similarly, certain American dry measurements have the same names as American fluid cbVolume measurements (dry pints, dry quarts, and dry gallons), and are distinguished by using the vuDryPints, vuDryQuarts, and vuDryGallons variables.

Note: To initialize these variables in C++ programs, use the InitStdConvs procedure.

See Also