Hi, i have this message
Index e length devono fare riferimento a una posizione nella stringa.
Nome parametro: length
i don't know because the code after "else" generates the error.

Code:
imponibile = System.Math.Round((totale / (1 + (iva / 100))), 2, MidpointRounding.ToEven);
        String res2 = "" + imponibile;
        String[] arres2 = res2.Split(',');
        if (arres2.Length
...