var
ReportCheckAmtWords: Report Check;
AmountinWords: array[2] of Text[300];
ReportCheckAmtWords.InitTextVariable();
ReportCheckAmtWords.FormatNoText(AmountinWords, Amount, 'AED');
exit(AmountinWords[1]);
end;
Output:
Any suggestion on how to correct it?
Thank you in advance!