str2Int Function
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Converts a string to the equivalent integer.
int str2Int(str _text)
Parameters
Parameter |
Description |
---|---|
_text |
The string to convert to an integer. |
Return Value
The integer equivalent of the specified string.
Example
static void str2IntExample(Args _arg)
{
int i;
;
i = str2Int("1234567890");
print "i = " + int2Str(i);
pause;
}
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).