Example #1
0
        public static decimal GetDecimalMandatory(this IXLCell cell)
        {
            var value = cell.GetDecimalOrDefault();

            if (value.Empty() || value.HasValue == false)
            {
                ThrowValueExpectedException <decimal>(cell);
            }

            return(value.Value);
        }
Example #2
0
 public decimal?GetDecimalOrDefault()
 {
     return(_cell.GetDecimalOrDefault());
 }