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 25, 2018
·
44 revisions
← Index ← Namespace Index
public struct MyFixedPoint: IXmlSerializableFixed point number represented as 64-bit integer with 6 decimal places (one millionts)
Namespace: VRage
Assembly: VRage.Library.dll
Implements:
| Member | Description |
|---|---|
| RawValue | |
| MinValue | |
| MaxValue | |
| Zero | |
| SmallestPossibleValue | |
| MaxIntValue | |
| MinIntValue |
| Member | Description |
|---|---|
| SerializeString() | For XmlSerialization, format is 123.456789 |
| DeserializeStringSafe(string) | For XmlSerialization, format is 123.456789 Handles double and decimal formats too. |
| DeserializeString(string) | |
| IsIntegral(MyFixedPoint) | |
| Ceiling(MyFixedPoint) | |
| Floor(MyFixedPoint) | |
| Min(MyFixedPoint, MyFixedPoint) | |
| Max(MyFixedPoint, MyFixedPoint) | |
| Round(MyFixedPoint) | |
| AddSafe(MyFixedPoint, MyFixedPoint) | |
| MultiplySafe(MyFixedPoint, float) | |
| MultiplySafe(MyFixedPoint, int) | |
| MultiplySafe(float, MyFixedPoint) | |
| MultiplySafe(int, MyFixedPoint) | |
| 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!