Difference between revisions of "Template:Cardinal to word/0 to 999/testcases"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (border/cellpadding/cellspacing not needed due to wikitable class)
 
Line 4: Line 4:
 
In all tests, the named parameters take default values.
 
In all tests, the named parameters take default values.
  
{| class="wikitable" cellpadding="5" width=0%
+
{| class="wikitable" width=0%
 
!Number!! Output
 
!Number!! Output
 
|-
 
|-
Line 62: Line 62:
 
== Named parameters ==
 
== Named parameters ==
 
===zero===
 
===zero===
{| class="wikitable" cellpadding="5" width=0%
+
{| class="wikitable" width=0%
 
!Number !! zero= !! Output
 
!Number !! zero= !! Output
 
|-
 
|-

Latest revision as of 10:25, 7 June 2020

This shows the output of the template given valid and invalid input.

Number values

In all tests, the named parameters take default values.

Number Output
0 zero
10 ten
21 twenty-one
32 thirty-two
43 forty-three
54 fifty-four
65 sixty-five
76 seventy-six
87 eighty-seven
98 ninety-eight
100 one hundred
210 two hundred and ten
321 three hundred and twenty-one
432 four hundred and thirty-two
453 five hundred and forty-three
654 six hundred and fifty-four
765 seven hundred and sixty-five
876 eight hundred and seventy-six
987 nine hundred and eighty-seven
999 nine hundred and ninety-nine
1000 {{Cardinal to word/0 to 999}}: value "1000" is not a natural number in the range 0 to 999
pi {{Cardinal to word/0 to 999}}: value "pi" is not a natural number in the range 0 to 999
NaN Expression error
(empty) Expression error
(missing) Expression error

Named parameters

zero

Number zero= Output
0 none none
111 one hundred and eleven
222 none two hundred and twenty-two
0 (empty)
0 (missing) zero