Four is magic: Difference between revisions
m
→{{header|Perl 6}}: Update for module change
(Added Sidef) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Update for module change) |
||
Line 716:
=={{header|Perl 6}}==
{{works with|Rakudo|2017.09}}
Lingua::EN::Numbers
<lang perl6>use Lingua::EN::Numbers
sub card ($n) { cardinal($n).subst(/','/, '', :g) }
Line 757:
One hundred fifteen quattuorvigintillion seven hundred ninety-two trevigintillion eighty-nine duovigintillion two hundred thirty-seven unvigintillion three hundred sixteen vigintillion one hundred ninety-five novemdecillion four hundred twenty-three octodecillion five hundred seventy septendecillion nine hundred eighty-five sexdecillion eight quindecillion six hundred eighty-seven quattuordecillion nine hundred seven tredecillion eight hundred fifty-three duodecillion two hundred sixty-nine undecillion nine hundred eighty-four decillion six hundred sixty-five nonillion six hundred forty octillion five hundred sixty-four septillion thirty-nine sextillion four hundred fifty-seven quintillion five hundred eighty-four quadrillion seven trillion nine hundred thirteen billion one hundred twenty-nine million six hundred thirty-nine thousand nine hundred thirty-six is eight hundred sixty-nine, eight hundred sixty-nine is twenty-four, twenty-four is eleven, eleven is six, six is three, three is five, five is four, four is magic.</pre>
=={{header|Phix}}==
|