도움 받은 파일: Number to Ordinal String Converter 도움 준 파일: Numeric to Ordinal-String Community Treasure Hunt Find the treasures in MATLAB Central and discover how the community can help you! Start Hunting! 7 Ways to Make Embedded Software Safe and Secure Read white...
Besides the numerical argument, there are two main optional arguments, to: and lang: to: The converter to use. Supported values are: cardinal (default) ordinal ordinal_num year currency lang: The language in which to convert the number. Supported values are: en (English, default) am (Amhari...
Therefore, if you want to call num2words with a fallback, you can do: try: return num2words(42, lang=mylang) except NotImplementedError: return num2words(42, lang='en') Additionally, some converters and languages support other optional arguments that are needed to make the converter ...