Esempio n. 1
0
 public static int?AsConvertedInt(this NumericRepresentationValue value, string targetUnitCode)
 {
     if (value == null)
     {
         return(null);
     }
     else
     {
         return((int)value.AsConvertedDouble(targetUnitCode).Value);
     }
 }
Esempio n. 2
0
 public static int AsConvertedInt(this NumericRepresentationValue value, string targetUnitCode)
 {
     return((int)value.AsConvertedDouble(targetUnitCode));
 }