Skip to content

IsNumeric Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.ReflectionTools.dll

Overloads ​

NameDescription
bool IsNumeric(object source)Returns if input object can be converted to a Numeric (decimal)
bool IsNumeric(object source, out decimal value)Returns if the input object can be converted to a numeric (Decimal).

bool IsNumeric(object source) ​

csharp
bool IsNumeric(object source)

Returns if input object can be converted to a Numeric (decimal)

bool IsNumeric(object source, out decimal value) ​

csharp
bool IsNumeric(object source, out decimal value)

Returns if the input object can be converted to a numeric (Decimal).

Parameters ​

NameDescription
sourceThe value to test.
valueWhen this method returns , contains the converted Decimal value. Otherwise, this parameter is set to 0.