public static void Main()
decimal value = 4990.0000m;
Int32[] bits = decimal.GetBits(value);
Int32 scale = (bits[3] >> 15) & 0x01FE;
Int32 sign = (bits[3] >> 31) & 0x0001;
UInt32 high = (UInt32) bits[2];
UInt64 low = ((UInt64) bits[1] << 32) | ((UInt64) bits[0] & 0xFFFFFFFFL);
UInt32 scaleSign = (uint)(scale | sign);
Console.WriteLine(scaleSign);