Converts Decimal to the equivalent 8-bit unsigned integer.
using System; class MainClass { public static void Main() { object SByteValue = null; try { SByteValue = decimal.ToSByte(123.123m); } catch (Exception ex) { SByteValue = null; } } }