Class FixedPointDecimal
FixedPointDecimal class
Fixed-point decimal, with 16-bit integer and 16-bit fraction.
public class FixedPointDecimal
Constructors
| Name | Description |
|---|
| FixedPointDecimal(double) | Initializes a new instance of the FixedPointDecimal class. |
| FixedPointDecimal(long) | Initializes a new instance of the FixedPointDecimal class. Split the high and low words of a 32-bit integer into a fixed-point number. |
| FixedPointDecimal(int, int) | Initializes a new instance of the FixedPointDecimal class. |
Properties
| Name | Description |
|---|
| Fraction { get; set; } | Gets or sets the fraction. |
| Integer { get; set; } | Gets or sets the integer. |
Methods
| Name | Description |
|---|
| ToDouble() | Converts current fixed point decimal to double. |
See Also