public static string Min(string numStr)
 {
     if (numStr == null || numStr == string.Empty)
     {
         return(string.Empty);
     }
     return(Jed.S2N(numStr).ToString());
 }
 public static string Min(string numStr1, string numStr2)
 {
     if (numStr2 == null || numStr2 == string.Empty)
     {
         return(Jed.Min(numStr1));
     }
     if (numStr1 == null || numStr1 == string.Empty)
     {
         return(Jed.Min(numStr2));
     }
     return(Math.Min(Jed.S2N(numStr1), Jed.S2N(numStr2)).ToString());
 }
    public static double GetNum(Loan loan, string dataFieldName)
    {
        string simpleField = loan.Fields[dataFieldName].FormattedValue;

        return(Jed.S2N(JS.newlineTailRegex.Replace(simpleField, "")));
    }