RAD Studio VCL Reference
|
Represents the field's value as a Currency value.
property AsCurrency: Currency;
__property Currency AsCurrency;
Use AsCurrency to read the value of the field's data into an object or variable of type Currency or to assign a Currency value to the contents of the field.
As implemented by TField, reading AsCurrency returns the value of AsFloat converted to a Currency value, and setting AsCurrency sets the AsFloat property after converting a supplied Currency value to a double. Some TField descendants override AsCurrency to work directly with Currency values rather than implicitly converting between the Currency type and doubles.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|