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

◆ Floor()

static decimal System.Decimal.Floor ( decimal d)
inlinestatic

Definition at line 2369 of file Decimal.cs.

2370 {
2371 int flags = d._flags;
2372 if (((uint)flags & 0xFF0000u) != 0)
2373 {
2374 DecCalc.InternalRound(ref AsMutable(ref d), (byte)(flags >> 16), MidpointRounding.ToNegativeInfinity);
2375 }
2376 return d;
2377 }
static ref DecCalc AsMutable(ref decimal d)
Definition Decimal.cs:3538

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