Fixed Structure |
Namespace: Demo3D.EventQueue
public struct Fixed : IComparable<Fixed>, IComparable, IFormattable, IEquatable<Fixed>
The Fixed type exposes the following members.
| Name | Description | |
|---|---|---|
| Fixed(Decimal) | Initializes a new instance of the Fixed class | |
| Fixed(Double) | Initializes a new instance of the Fixed class | |
| Fixed(Int32) | Initializes a new instance of the Fixed class | |
| Fixed(Int64) | Initializes a new instance of the Fixed class | |
| Fixed(Single) | Initializes a new instance of the Fixed class | |
| Fixed(Int32, Int32) | Initializes a new instance of the Fixed class | |
| Fixed(Int64, Int64) | Initializes a new instance of the Fixed class |
| Name | Description | |
|---|---|---|
| Parse(String) |
Convert a string in into a Fixed number.
| |
| Parse(String, NumberStyles) |
Convert a string in into a Fixed number.
| |
| Parse(String, IFormatProvider) |
Convert a string in into a Fixed number.
| |
| Parse(String, NumberStyles, IFormatProvider) |
Convert a string in into a Fixed number.
| |
| RoundUp |
Rounds up the provided double floating point time to the fixed precision floating point
format. This ensures that the value returned is at least as big as the double precision
floating point value provided. The input value is then set to the double floating point
precision representation of the retured fixed precision floating point value.
| |
| ToString |
Display the number as a string.
(Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) |
Display the number as a string.
| |
| ToString(String) |
Display the number as a string.
| |
| ToString(String, IFormatProvider) |
Display the number as a string.
|
| Name | Description | |
|---|---|---|
| (Double to Fixed) |
Convert explicitly from double.
| |
| (Fixed to Decimal) |
Convert explicitly to decimal.
| |
| (Fixed to Double) |
Convert explicitly to double.
| |
| (Fixed to Int32) |
Convert explicitly to int.
| |
| (Fixed to Int64) |
Convert explicitly to long.
| |
| (Fixed to Single) |
Convert explicitly to float.
| |
| (Single to Fixed) |
Convert explicitly from double.
| |
| (Decimal to Fixed) |
Convert implicitly from decimal.
| |
| (Int32 to Fixed) |
Convert implicitly from int.
| |
| (Int64 to Fixed) |
Convert implicitly from lomg.
|
| Name | Description | |
|---|---|---|
| Epsilon |
The smallest difference between two Fixed numbers.
| |
| MaxValue |
Largest Fixed value possible.
| |
| MinValue |
Smallest Fixed value possible.
| |
| One |
Fixed value of one.
| |
| Zero |
Fixed value of zero.
|