Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Truncate() [2/2]

static void System.Decimal.Truncate ( ref decimal d)
inlinestaticprivate

Definition at line 2799 of file Decimal.cs.

2800 {
2801 int flags = d._flags;
2802 if (((uint)flags & 0xFF0000u) != 0)
2803 {
2804 DecCalc.InternalRound(ref AsMutable(ref d), (byte)(flags >> 16), MidpointRounding.ToZero);
2805 }
2806 }
static ref DecCalc AsMutable(ref decimal d)
Definition Decimal.cs:3538

References System.Decimal.AsMutable(), System.Runtime.Serialization.Dictionary, and System.Decimal.DecCalc.InternalRound().