<?xdofx:to_check_number(12345.67, ‘USD’)?> not working with variable
We would like to convert amount into words in UK / US format. We are trying to use following expression but it is not working with available:
<?xdofx:to_check_number(12345.67, ‘USD’)?> It is working fine
<?xdoxsIt:toCheckNumber(xdoxslt:get_variable($_XDOCTX, 'tot'))?>
<?xdofx:to_check_number((xdoxslt:get_variable($_XDOCTX, 'tot')), ‘USD’)?> Not working and showing blank