public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { string izlaz = ZP.damage_popis[0]; // "Nema oštećenja"; try { izlaz = ZP.damage_popis[(int)Funkcije.pretvori(value)];// "Nema oštećenja"; } catch { } return(izlaz); }