str2Int Function [AX 2012]

Updated: December 10, 2009

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)

Parameter

Description

_text

The string to convert to an integer.

The integer equivalent of the specified string.

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).

Community Additions

ADD
Show: