public object ConvertBack(object value, Type targetType, object parameter, string language) { try { return (int) Math.Round(StringFormatHelper.ParseDouble((string) value)*1000); } catch (Exception) { return parameter; } } }