Converts an integer or a double precision floating point value to an integer or a double precision floating point value.

Convert(Object, Type, Object, System.Globalization.CultureInfo)

public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
Public Function Convert(value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object

Parameters

Parameter Description
value The value produced by the binding source. It must be either a double precision floating point value or an integer.
targetType The type of the binding target property. It must be either a double precision floating point value or an integer.
parameter The converter parameter. Is not used by this converter.
culture The culture to use in the converter.

Return Value

The converted value. The method returns DependencyProperty.UnsetValue, if the conversion is not possible.