Convertion ToDecimal Method (Object, Decimal)Nemiro.Convertion
Converts the value of the specified object to an equivalent decimal number.

Namespace: Nemiro
Assembly: Nemiro.Convertion (in Nemiro.Convertion.dll) Version: 2.1.4.402 (2.1.4.402)
Syntax

public static decimal ToDecimal(
	Object value,
	decimal default
)

Parameters

value
Type: System Object
The value to convert.
default
Type: System Decimal
The default value is to be returned in the case of conversion errors.

Return Value

Type: Decimal
See Also