X++ code to convert the formatted string to Numbers in AX 2012 R3

static void RB_formattedStr2Num(Args _args)
{
    str s = "(200+100) / 2 * 4";

    info(strFmt("%1", formattedStr2num(s)));
}

No comments:

Post a Comment