public static string FormatUnspecPercent(this Summary.WasteSummaryTreeListRow row) { return(QuantityFormat.FormatPercentage(row.UnspecifiedPercent, 1)); }
/// <summary> /// Add percent to string /// </summary> private static string AddPercent(string quantity, double pct) { return(string.Format("{0} ({1})", quantity, QuantityFormat.FormatPercentage(pct))); }
public static string FormatDisposalPercent(this Summary.WasteSummaryTreeListRow row) { return(QuantityFormat.FormatPercentage(row.DisposalPercent, 1)); }