DecimalConverter

Converts objects to decimals.

Description

TODO: add description

Static methods

ToDecimal

TODO: add description

public static decimal ToDecimal (object value)

  • value: object - TODO: add description
  • returns: decimal - TODO: add description

ToDecimalWithDefault

TODO: add description

public static decimal ToDecimalWithDefault (object value, decimal defaultValue)

  • value: object - TODO: add description
  • defaultValue: decimal - TODO: add description
  • returns: decimal - TODO: add description

ToNullableDecimal

Converts value into doubles or returns null when conversion is not possible.

public static decimal ToNullableDecimal(object value)

  • value: object - TODO: add description
  • returns: decimal - TODO: add description