In words display without round off - display fraction also inwords

In words printing in sales invoice, I need to print without rounding off. I have tried with global defaults setting - but it is not working - still in the words display amount is rounded off and it is not displaying fraction in words. Is there any solution to display fraction in words, as it is without round off.

Try it by using code.
On .py file.

from frappe.utils import money_in_words

def validate(self):
self.in_words = money_in_words(self.in_words)

Make sure:

  1. In Global Defaults rounding is disabled
  2. The smallest fraction for currency is set to 0.01