N'th: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 4,059: | Line 4,059: | ||
1020th 1021st 1022nd 1023rd 1024th 1025th</pre> |
1020th 1021st 1022nd 1023rd 1024th 1025th</pre> |
||
=={{header|Vlang}}== |
=={{header|V (Vlang)}}== |
||
{{trans|go}} |
{{trans|go}} |
||
<syntaxhighlight lang="vlang">fn ord(n int) string { |
<syntaxhighlight lang="v (vlang)">fn ord(n int) string { |
||
mut s := "th" |
mut s := "th" |
||
c := n % 10 |
c := n % 10 |