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

◆ Ceiling()

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

Definition at line 2306 of file Decimal.cs.

2307 {
2308 int flags = d._flags;
2309 if (((uint)flags & 0xFF0000u) != 0)
2310 {
2311 DecCalc.InternalRound(ref AsMutable(ref d), (byte)(flags >> 16), MidpointRounding.ToPositiveInfinity);
2312 }
2313 return d;
2314 }
static ref DecCalc AsMutable(ref decimal d)
Definition Decimal.cs:3538

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