i am trying to multiply to decimals in a datagridveiw to give me a total.
Code
dgSRLevel.Item(9, dgSRLevel.CurrentRow.Index()) =(dgSRLevel.Item(6, dgSRLevel.CurrentRow.Index()) * dgSRLevel.Item(8, dgSRLevel.CurrentRow.Index()))
i have tried numerous ways of converting to decimal but keeps saying csan not convert to decimal
anyony help
Code
dgSRLevel.Item(9, dgSRLevel.CurrentRow.Index()) =(dgSRLevel.Item(6, dgSRLevel.CurrentRow.Index()) * dgSRLevel.Item(8, dgSRLevel.CurrentRow.Index()))
i have tried numerous ways of converting to decimal but keeps saying csan not convert to decimal
anyony help