Hi,
We can convert numerals in to words using below code.
static void shyamnumtotxt(Args _args)
{
real i;
str val;
;
i= 56924.50;
val = numeralsToTxt_EN(i);
val = substr(val,5, strlen(val)-4);
info(strFmt("%1",numeralsToTxt(i)));
info(strFmt("%1",numeralsToTxt_EN(i)));
info(strFmt("%1",numeralsToTxt_IN(i))); // For India
info(strFmt("%1",val)); // Without ***
}
We can convert numerals in to words using below code.
static void shyamnumtotxt(Args _args)
{
real i;
str val;
;
i= 56924.50;
val = numeralsToTxt_EN(i);
val = substr(val,5, strlen(val)-4);
info(strFmt("%1",numeralsToTxt(i)));
info(strFmt("%1",numeralsToTxt_EN(i)));
info(strFmt("%1",numeralsToTxt_IN(i))); // For India
info(strFmt("%1",val)); // Without ***
}
Comments
Post a Comment