Jump to content

Create your own text control codes: Difference between revisions

m
→‎{{header|Raku}}: add some commentary
(→‎{{header|Wren}}: Added more effects.)
m (→‎{{header|Raku}}: add some commentary)
Line 65:
Some languages already have a commas directive as that one is actually useful. I doubt if any language has an "invert" directive.
 
This is ''really'' basic and sketchy. It only modifies printf, not sprintf, so probably isn't terribly useful as is... but it satisfies the task requirements. It actually ''does'' add new, non-standard directives to the core printf function, not just implement a separate formatting function to pre-format a string which is then passed to the printing function.
<lang perl6>use Lingua::EN::Numbers;
10,333

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.