1

In Magento 2 invoice pdf, how can I show grand total amount in english words also? How can I achieve this?

1

You Can Convert Using NumberFormatter class

$f = new NumberFormatter("en", NumberFormatter::SPELLOUT);
echo $f->format(1432);

Output :-

one thousand four hundred thirty-two
| improve this answer | |
  • where can i add it in the magento 2 invoice pdf? – Arul Aug 13 '19 at 9:10
  • in which postion to disaply words ? – Rk Rathod Aug 13 '19 at 9:38
  • under the grand total – Arul Aug 13 '19 at 12:31
  • please attach screen shot – Rk Rathod Aug 13 '19 at 12:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.