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

1 Answer 1


You Can Convert Using NumberFormatter class

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

Output :-

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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