# BCD Support Routines

Go Up to API Categories Index

This topic lists the BCD (binary-coded decimal) support routines defined in the Delphi RTL.

Routine Description

Converts a binary-coded decimal value (BCD) to the corresponding Currency value.

Adds two FMTBcd.TBcd values.

Compares two FMTBcd.TBcd values.

Divides one BCD value by another.

Multiplies two BCD values.

Returns the precision of a binary-coded decimal (BCD) value.

Returns the number of decimal places for a binary-coded decimal (BCD) value.

Subtracts one BCD value from another.

Converts a binary-coded decimal value (BCD) to the corresponding double precision floating point value.

Converts a binary-coded decimal value (BCD) to an integer.

Returns a string representation of a binary-coded decimal (BCD) value.

Returns a string representation of a binary-coded decimal (BCD) value that reflects specified formatting.

Converts a Currency value to the corresponding binary-coded decimal (BCD) value.

Converts a double precision floating point value to the corresponding binary-coded decimal (BCD) value.

Returns a string representation of a binary-coded decimal (BCD) value that reflects specified formatting.

Converts an integer value to the corresponding binary-coded decimal (BCD) value.

Indicates whether a binary-coded decimal (BCD) value is less than 0.

Converts a BCD value into another BCD value with a specified precision and number of decimals.

Represents a NULL FMTBcd.TBcd value.

Converts a string to the corresponding binary-coded decimal (BCD) value.

Converts a string to the corresponding binary-coded decimal (BCD) value.

Returns the TVarType constant that identifies the internal type of a Variant as a FMTBcd.TBcd value.

Creates a new Variant that stores its value internally as a FMTBcd.TBcd value.

Indicates whether a specified Variant represents a FMTBcd.TBcd value.

Converts a Variant into a FMTBcd.TBcd type.