Click or drag to resize

CommonIsNumeric Method

Determines if given item is or can be interpreted as numeric.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public static bool IsNumeric(
	Object item
)
View Source

Parameters

item  Object
Object to evaluate.

Return Value

Boolean
true if item is or can be interpreted as numeric; otherwise, false.
Remarks
If type of item is a Char or a String, then if value can be parsed as a numeric value, result will be true.
See Also