Hello I have a value of 21.945.075 and I must take the percentage to values greater than this of 12.5% this part I have already done, the problem is that when the value is greater than $22.713.150 must set this as the maximum value and continue generating the 12. 5% on this value; that is to say if the value was $22.713.160 or higher ($23.000.000 …etc) any value that is higher than $22.713.160 this should generate only the value of 12.5% on this value ($22.713.160), can you help me to do this?

dt2.AsEnumerable.Where(Function® Integer.TryParse(r(“IBCS”).ToString.Trim, Nothing) ).Where(Function® r(“SALUD”).ToString.ToUpper.Trim.Equals(“EPS010”) And CLng(r(“IBCS”).ToString.Trim)>21945075 ).ToArray

In this way I filter only the values greater than 21945075 and multiply the value stored in this variable by 12.5%

Help please

@supermanPunch

@ppr

@NIVED_NAMBIAR