StringExtensions.Integer(this string str) Method
.NET Standard 2.x
Converts the value of a string to an integer.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static short? Integer(this string str);
Parameters
str
System.String
A string whose value you want returned as an integer.
Returns
System.Int16
Returns the value of string as an integer if it succeeds and 0
if string is not a valid number or is an incompatible datatype. If str is null
, Integer
returns null
.
Examples
Coming soon.
Applies to
.NET Standard
2.x