MCPcopy Create free account
hub / github.com/neetcode-gh/leetcode / numberToWords

Function numberToWords

javascript/0273-integer-to-english-words.js:74–80  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

72};
73
74var numberToWords = function (num) {
75 if (num == 0) {
76 return 'Zero';
77 } else {
78 return convertToWords(num);
79 }
80};

Callers

nothing calls this directly

Calls 1

convertToWordsFunction · 0.85

Tested by

no test coverage detected