From RAD Studio API Documentation
Classes
Routines
BcdAdd | Adds two TBcd values. |
BcdCompare | Compares two TBcd values. |
BcdDivide | Divides one BCD value by another. |
BcdFromBytes | |
BcdMultiply | Multiplies two BCD values. |
BcdPrecision | Returns the precision of a binary-coded decimal (BCD) value. |
BCDRoundTo | |
BcdScale | Returns the number of decimal places for a binary-coded decimal (BCD) value. |
BcdSubtract | Subtracts one BCD value from another. |
BcdToBytes | |
BCDToCurr | Converts a binary-coded decimal value (BCD) to the corresponding Currency value. |
BCDToCurrency | |
BcdToDouble | Converts a binary-coded decimal value (BCD) to the corresponding double precision floating point value. |
BcdToInt64 | |
BcdToInteger | Converts a binary-coded decimal value (BCD) to an integer. |
BcdToStr | Returns a string representation of a binary-coded decimal (BCD) value. |
BcdToStrF | Returns a string representation of a binary-coded decimal (BCD) value that reflects specified formatting. |
CurrencyToBcd | |
CurrToBCD | Converts a Currency value to the corresponding binary-coded decimal (BCD) value. |
DoubleToBcd | Converts a double precision floating point value to the corresponding binary-coded decimal (BCD) value. |
FormatBcd | Returns a string representation of a binary-coded decimal (BCD) value that reflects specified formatting. |
IntegerToBcd | Converts an integer value to the corresponding binary-coded decimal (BCD) value. |
IsBcdNegative | Indicates whether a binary-coded decimal (BCD) value is less than 0. |
NormalizeBcd | Converts a BCD value into another BCD value with a specified precision and number of decimals. |
RoundAt (deprecated) | |
StrToBcd | Converts a string to the corresponding binary-coded decimal (BCD) value. |
TryStrToBcd | Converts a string to the corresponding binary-coded decimal (BCD) value. |
VarFMTBcd | Returns the TVarType constant that identifies the internal type of a Variant as a TBcd value. |
VarFMTBcdCreate | Creates a new Variant that stores its value internally as a TBcd value. |
VarIsFMTBcd | Indicates whether a specified Variant represents a TBcd value. |
VarToBcd | Converts a Variant into a TBcd type. |
Types
Variables
Constants
_DefaultDecimals | _DefaultDecimals: Integer = $A; |
_NoDecimal | _NoDecimal: Integer = $FFFFFF01; |
DefaultFMTBcdScale | DefaultFMTBcdScale: Integer = 6; |
MaxBcdPrecision | MaxBcdPrecision: Integer = $12; |
MaxBcdScale | MaxBcdScale: Integer = 4; |
MaxFMTBcdDigits | MaxFMTBcdDigits: Integer = $20; |
MaxFMTBcdFractionSize | MaxFMTBcdFractionSize: Integer = $40; |
MaxStringDigits | MaxStringDigits: Integer = $64; |
SizeOfFraction | SizeOfFraction: Integer = $20; |
SizeOfTBCD | SizeOfTBCD: Integer = $22; |