public void Add_L3_Totals(decimal weight, string WeightType, decimal Charge, int LadingQty) { this.SegmentCount++; S_L3 S_L3 = new S_L3(); S_L3.D_81_1 = ((int)(weight * 100)).ToString(); S_L3.D_187_2 = WeightType; //"G"; S_L3.D_58_5 = ((int)(Charge * 100)).ToString(); S_L3.D_80_11 = ((int)(LadingQty)).ToString(); this.m210.S_L3 = S_L3; }