Count in octal: Difference between revisions

Content added Content deleted
Line 2,056:
We use the :8x interpolation modifier to create a string in base 8 (may use base 2 to 36).
 
<syntaxhighlight lang="langur">val .limit = 7000070
 
for .i of .limit {
writeln $"10x\.{{i;}} == 8x\.{{i:8x;}}"
}
}</syntaxhighlight>
 
{{out}}