Spelling of ordinal numbers: Difference between revisions
→{{header|jq}}: Remove ###
(→{{header|jq}}: vigintillion) |
(→{{header|jq}}: Remove ###) |
||
Line 957:
9007199254740993, # too large for jq
# ... but not 1000 vigintillion
)
| "\(lpad(10)) => \(sayOrdinal)"
</syntaxhighlight>
{{output}}▼
The output using gojq is shown first. The tail of the output
using jq is then shown to illustrate what happens when the program
determines the given integer is too large for jq's built-in support
for integer arithmetic.
▲{{output}}
<pre>
1 => first
Line 990 ⟶ 991:
gojq: error: 66 zeros is beyond the scope of this exercise
</pre>
<pre>
2000000000000 => two trillionth
|