X++ code to convert the formatted string to Numbers in AX 2012 R3
Views (983)
static void RB_formattedStr2Num(Args _args)
{
str s = "(200+100) / 2 * 4";
info(strFmt("%1", formattedStr2num(s)));
}
{
str s = "(200+100) / 2 * 4";
info(strFmt("%1", formattedStr2num(s)));
}
This was originally posted here.

Like
Report
*This post is locked for comments