Checks if the string content is an integer or a floating point number.
XIH.IsNumber(numberAsText)
XIH.IsNumber(numberAsText, numberStyle, culture)
Parameter | Data type | Description | Sample |
---|
numberAsText | string | String specifies any number in a specific numeral system. | "5" |
numberStyle | NumberStyles | Specifies which numeric string argument styles are permitted. | int |
culture | CultureInfo | Specifies essentially which languages are allowed and forbidden. | en-US |
Available starting from version 5.5.
Note that while using NumberStyles it is only possible to use integer or floating point specific number styles.
CCXAllowedInstanceTypes must contain: System.Globalization.NumberStyles;System.Globalization.CultureInfo