UNPKG

polish-number-to-words

Version:

Spell numbers using words in Polish | Napisz liczbę słownie po polsku

5 lines (4 loc) 111 B
export function getDecimalPlaces(n) { const str = n.toString(); return str.split('.')[1].length; }