Declaration
public static bool Try(
object value,
out decimal result
)Summary
Converts the specified object to a decimal.
Returns true if successful, or false if the object cannot be converted exactly.
result is set to the type's default value
if the conversion is unsuccessful.