Converts a double precision floating point value to the corresponding binary-coded decimal (BCD) value.
Use DoubleToBcd to convert a double precision floating point value into a binary-coded decimal value. DoubleToBcd infers the number of decimal places and significant digits from the specified value aValue, using only as many as necessary. It never sets the number of significant digits to a value greater than 15.
aValue is the value to convert.
bcd returns the resulting BCD value when using the second syntax. When using the first syntax, the BCD value is the return value of the function.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|