TBANumeric¶
Unit: BoldAttributes
Declaration¶
Hierarchy¶
- TObject
TBoldMemoryManagedObjectTBoldFlaggedObject- TBoldSubscribableObject
- TBoldElement
- TBoldDomainElement
- TBoldMember
- TBoldAttribute
- TBANumeric
- Direct subclasses
- TBACurrency
- TBAFloat
- TBAInteger
Description¶
This is an abstract superclass of all numeric attribute types in Bold. It can be read as a float value, and written as an integer value (not all numeric types can store float values).
Properties¶
| Name | Summary | Notes |
|---|---|---|
| AsFloat | The value of the attribute, represented as a Double | read-only |
| AsInteger |
AsFloat¶
This is the numeric value of the attribute. Note that it can only be read, not written.
AsInteger¶
This property is write only. Since some numeric types contain decimals, you must do the rounding yourself if you need to read an integer value from a TBANumeric. Use either round(asFloat) or trunc(asFloat).
Methods¶
| Name | Summary | Notes |
|---|---|---|
| GetAsFloat | protected, abstract | |
| SetAsInteger | protected, abstract | |
| SetEmptyValue | override |
GetAsFloat¶
SetAsInteger¶
SetEmptyValue¶
Generated from the Bold 4.0 help (Help/BfD.chm) by Tools/chm2mkdocs.py; member lists reflect Bold 4.0, see the source for members added since.