This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRage.MyFixedPoint
Malware edited this page Dec 21, 2018
·
44 revisions
← Index
Namespace: VRage
Assembly: VRage.Library.dll
Fixed point number represented as 64-bit integer with 6 decimal places (one millionts)
| Member | Description |
|---|---|
RawValue |
|
static MinValue
|
|
static MaxValue
|
|
static Zero
|
|
static SmallestPossibleValue
|
|
static MaxIntValue
|
|
static MinIntValue
|
| Member | Description |
|---|---|
SerializeString() |
For XmlSerialization, format is 123.456789 |
static DeserializeStringSafe(string)
|
For XmlSerialization, format is 123.456789 Handles double and decimal formats too. |
static DeserializeString(string)
|
|
static IsIntegral(MyFixedPoint)
|
|
static Ceiling(MyFixedPoint)
|
|
static Floor(MyFixedPoint)
|
|
static Min(MyFixedPoint, MyFixedPoint)
|
|
static Max(MyFixedPoint, MyFixedPoint)
|
|
static Round(MyFixedPoint)
|
|
static AddSafe(MyFixedPoint, MyFixedPoint)
|
|
static MultiplySafe(MyFixedPoint, float)
|
|
static MultiplySafe(MyFixedPoint, int)
|
|
static MultiplySafe(float, MyFixedPoint)
|
|
static MultiplySafe(int, MyFixedPoint)
|
|
static MultiplySafe(MyFixedPoint, MyFixedPoint)
|
|
ToIntSafe() |
|
ToString() |
|
GetHashCode() |
|
Equals(Object) |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!