Integer Name #295
WeirdOddWodd
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is a suggestion for you, Hanna. Add an number name that returns the name of the specified number. It might be put in as follows: integername(Number; an integer; type; 0 (integers and words); 1 (words only, excluding “and”); 2 (words only, including “and”) (default = 0); scale; 0 (short scale); 1 (long scale) (default = 0))
input: numbername(32,479; 0; 0)
output: 32 thousand 479
input: numbername(32,479; 1; 0)
output: thirty-two thousand, four hundred seventy-nine
input: numbername(32,479; 2; 0)
output: thirty-two thousand, four hundred and seventy-nine
input: 4,294,967,296; 0; 1
output: 4 milliard, 294 million, 967 thousand, 296
input: 4,294,967,296; 1; 1
output: four milliard, two hundred ninety-four million, nine hundred sixty-seven thousand, two hundred ninety-six
input: 4,294,967,296; 2; 1
output: four milliard, two hundred and ninety-four million, nine hundred and sixty-seven thousand, two hundred and ninety-six
Essentially, what you should end up with is a function that behaves similarly to this one. Have a wonderful day, Hanna!
Beta Was this translation helpful? Give feedback.
All reactions