Jump to content

Number names: Difference between revisions

Replace println() with print(); replace output "syntaxhighlight" tag with "pre" tag
m (→‎{{header|Wren}}: Removed two lines which are now redundant.)
(Replace println() with print(); replace output "syntaxhighlight" tag with "pre" tag)
Line 2,035:
for (Int test : tests)
{
console.printlnprint($"{test} = {toEnglish(test)}");
}
}
Line 2,123:
</syntaxhighlight>
 
{{out}}
Output:
<pre>
<syntaxhighlight>
0 = zero
1 = one
Line 2,141:
123456789000 = one hundred twenty-three billion four hundred fifty-six million seven hundred eighty-nine thousand
81985529216486895 = eighty-one quadrillion nine hundred eighty-five trillion five hundred twenty-nine billion two hundred sixteen million four hundred eighty-six thousand eight hundred ninety-five
</pre>
</syntaxhighlight>
 
=={{header|Elixir}}==
162

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.