Number names: Difference between revisions

Content added Content deleted
No edit summary
m (Regularize non-standard header markup)
Line 2,571: Line 2,571:
-2.7182818 = minus two point seven one eight two eight one eight</lang>
-2.7182818 = minus two point seven one eight two eight one eight</lang>


== {{header|Icon}} and {{header|Unicon}} ==
=={{header|Icon}} and {{header|Unicon}}==
<lang Icon>link numbers # commas, spell
<lang Icon>link numbers # commas, spell


Line 2,637: Line 2,637:
<lang inform7>say 2147483647 in words;</lang>
<lang inform7>say 2147483647 in words;</lang>


== {{header|J}} ==
=={{header|J}}==
'''Solutions:'''
'''Solutions:'''
<lang j>u=. ;:'one two three four five six seven eight nine'
<lang j>u=. ;:'one two three four five six seven eight nine'
Line 4,896: Line 4,896:
one hundred tredecillion, two decillion, three hundred quadrillion, four</pre>
one hundred tredecillion, two decillion, three hundred quadrillion, four</pre>


== {{header|Python}} ==
=={{header|Python}}==
Note: This example is also used as a module in the [[Names to numbers#Python]] task and should be kept in-sync.
Note: This example is also used as a module in the [[Names to numbers#Python]] task and should be kept in-sync.