Number names: Difference between revisions
Content deleted Content added
→{{header|Go}}: support zero and negatives, use hyphens (makes it easier to re-use for Four is magic and Four is the... tasks) |
m added quadrillion |
||
Line 3,687:
=={{header|Phix}}==
{{Trans|Ada}}
Fraction ideas copied from [[Number_names#HicEst|HicEst]], using billion=10^9, trillion=10^12, quadrillion=10^15, and limited to 999
Implemented as an [[Executable_library]] for use in [[Names_to_numbers#Phix|Names_to_numbers]].
<lang Phix>--
Line 3,723:
end function
constant orders = {{power(10,
{power(10,12),"trillion"},
{power(10,9),"billion"},
{power(10,6),"million"},
|