Number names: Difference between revisions

no edit summary
No edit summary
Line 5,345:
end for;
end func;</lang>
 
=={{header|SenseTalk}}==
<lang sensetalk>
set numbers to [0,1,7,22,186,pi,-48.6,-3451,925734, 12570902378]
 
repeat with each number in numbers
put number into output
put numberWords of number into character 15 of output
put output
end repeat
</lang>
Output:
<pre>
0.............zero
1.............one
7.............seven
22............twenty-two
186...........one hundred eighty-six
3.141593......three point one four one five nine three
-48.6.........negative forty-eight point six
-3451.........negative three thousand four hundred fifty-one
925734........nine hundred twenty-five thousand seven hundred thirty-four
12570902378...twelve billion five hundred seventy million nine hundred two thousand three hundred seventy-eight
</pre>
 
=={{header|SequenceL}}==