number_to_word {CGPfunctions} | R Documentation |
Converts a vector of numbers to a character string approximation using the "short scale" version of large number names. e.g. 312e6 returns as '300 million.' Simultaneously returns a numeric representation of the approximation.
number_to_word(x, nsmall = 0)
x |
A vector of numbers to convert. |
nsmall |
Optional. An integer number of digits to include to the right of the the leading digit |
A string representation of the number
Tom Hopper