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

◆ GetScale()

static int System.Reflection.Internal.DecimalUtilities.GetScale ( this decimal value)
inlinestatic

Definition at line 5 of file DecimalUtilities.cs.

6 {
7 Span<int> destination = stackalloc int[4];
8 decimal.GetBits(value, destination);
9 return (byte)(destination[3] >> 16);
10 }

References System.destination, and System.value.