示例#1
0
 public static Numeric FromNumber <T>(INumber <T> value)
 {
     if (value is null)
     {
         throw new ArgumentNullException(nameof(value));
     }
     return(new Numeric(value.DoubleValue()));
 }