Click or drag to resize

Fixed Structure

A fixed floating point number with 8 decimal places. Using this instead of floats or double ensures deterministic event dispatching.

Namespace:  Demo3D.EventQueue
Assembly:  Demo3D.EventQueue (in Demo3D.EventQueue.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
C#
public struct Fixed : IComparable<Fixed>, 
	IComparable, IFormattable, IEquatable<Fixed>

The Fixed type exposes the following members.

Constructors
  NameDescription
Public methodFixed(Decimal)
Initializes a new instance of the Fixed class
Public methodFixed(Double)
Initializes a new instance of the Fixed class
Public methodFixed(Int32)
Initializes a new instance of the Fixed class
Public methodFixed(Int64)
Initializes a new instance of the Fixed class
Public methodFixed(Single)
Initializes a new instance of the Fixed class
Public methodFixed(Int32, Int32)
Initializes a new instance of the Fixed class
Public methodFixed(Int64, Int64)
Initializes a new instance of the Fixed class
Top
Methods
  NameDescription
Public methodStatic memberParse(String)
Convert a string in into a Fixed number.
Public methodStatic memberParse(String, NumberStyles)
Convert a string in into a Fixed number.
Public methodStatic memberParse(String, IFormatProvider)
Convert a string in into a Fixed number.
Public methodStatic memberParse(String, NumberStyles, IFormatProvider)
Convert a string in into a Fixed number.
Public methodToString
Display the number as a string.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Display the number as a string.
Public methodToString(String)
Display the number as a string.
Public methodToString(String, IFormatProvider)
Display the number as a string.
Top
Operators
Fields
  NameDescription
Public fieldStatic memberEpsilon
The smallest difference between two Fixed numbers.
Public fieldStatic memberMaxValue
Largest Fixed value possible.
Public fieldStatic memberMinValue
Smallest Fixed value possible.
Public fieldStatic memberOne
Fixed value of one.
Public fieldStatic memberZero
Fixed value of zero.
Top
See Also