public override string ToString() { String fee = Math.Round(Fee) + ""; if (fee.Length > 9) { fee = fee.Substring(fee.Length - 9, 9); } return((ProductCode == null ? "".PadLeft(5, ' ') : ProductCode.PadLeft(5, '0')) + (Note == null ? "" : Note).PadRight(50, ' ') + "FD" + fee.Length + fee); }