Class UFixed16_16
Fixed-point decimal, with 16-bit integer and 16-bit fraction.
Inheritance
System.Object
UFixed16_16
Syntax
Constructors
UFixed16_16(Double)
Declaration
public UFixed16_16(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
UFixed16_16(UInt16, UInt16)
Declaration
public UFixed16_16(ushort integer, ushort fraction)
Parameters
Type |
Name |
Description |
System.UInt16 |
integer |
|
System.UInt16 |
fraction |
|
UFixed16_16(UInt32)
Split the high and low words of a 32-bit unsigned integer into a
fixed-point number.
Declaration
public UFixed16_16(uint value)
Parameters
Type |
Name |
Description |
System.UInt32 |
value |
|
Properties
Fraction
Declaration
public ushort Fraction { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
Integer
Declaration
public ushort Integer { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
Operators
Implicit(UFixed16_16 to Double)
Declaration
public static implicit operator double (UFixed16_16 value)
Parameters
Returns
Type |
Description |
System.Double |
|