Represents a Variant that holds byte data.
varSingle = $0004;
varSingle = 0x0004;
To define a Variant to be a varSingle type, you should use VarAsType to create one. By default, a Variant with a floating point value with less than 4 decimal places will be assigned the varCurrency type. With greater than 4 decimal places, it will be assigned by default the varDouble type.
Use VarType to determine the variant type.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|