System.Bluetooth.TBluetoothGattDescriptor.Exponent
Delphi
property Exponent: ShortInt read GetExponent;
C++
__property System::Int8 Exponent = {read=GetExponent, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattDescriptor |
Description
Exponent that you must apply to the value of the characteristic that provides the descriptor to obtain the actual value of the characteristic.
The actual value of the characteristic is the result of characteristic value * 10 ^ exponent
.
For example:
- If the characteristic value is 23 and Exponent is 2, the actual value of the characteristic is 2.300.
- If the characteristic value is 3892 and Exponent is -3, the actual value of the characteristic is 3.892.
You can only read the value of Exponent if the kind of the descriptor is PresentationFormat.