RFA .NET
Assembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1
Gets or sets the MagnitudeType.
Namespace: ThomsonReuters.RFA.DataAssembly: RFA8_NET110_x64 (in RFA8_NET110_x64.dll) Version: 8.0.1.1
Syntax
C# |
---|
public byte MagnitudeType { get; set; } |
Visual Basic |
---|
Public Property MagnitudeType As Byte Get Set |
Visual C++ |
---|
public: property unsigned char MagnitudeType { unsigned char get (); void set (unsigned char value); } |
F# |
---|
member MagnitudeType : byte with get, set |
Field Value
The relative size as an exponent or fraction.Possible values are defined in MagnitudeTypeEnum.
Remarks
If MagnitudeType is less than Divisor1, the MagnitudeType is a base-10 exponent: exponent = MagnitudeType-Exponent0 floatValue = Value*10^exponent
For example, a decimal's value of 775 and ExponentNeg2 (10 raised to the -2 power) results in 775*(10^-2) = 7.75.
If MagnitudeType is greater or equal to Divisor1, the MagnitudeType is a fractional divisor: exponent = MagnitudeType-Divisor1 floatValue = Value/2^exponent
For example, a fraction's value of 11 and Divisor4 (dividend is 11, divisor is 4) results in 11/(2^2) = 11/4 = 2 3/4.