public static string ToStringFormatted(this double input) { string result = string.Empty; result = input.ToString("N", BaseHelper.GetDefaultNumberFormatInfo()); return(result); }
public static string ToStringFormatted(this double?input) { string result = string.Empty; if (input.HasValue) { result = input.Value.ToString("N", BaseHelper.GetDefaultNumberFormatInfo()); } return(result); }