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

D365 F&O X++ code Update_Recordset and SkipDataMethods still calling update method

D365 F&O X++ code Update_Recordset and SkipDataMethods still calling update method It sounds like you're encountering an issue where...