Difference between revisions of "Category:Str len"
Jump to navigation
Jump to search
test>Davidgothberg (Better naming of /core parameter 3, and core does not return any leading zeros anymore.) |
test>Davidgothberg (Feeding the numbered parameters as numbers instead, to get white space stripping. Slightly more efficient, and simpler code. Tested in the /sandbox.) |
||
| Line 1: | Line 1: | ||
{{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}| 500 }} <!-- str >= 500 --> | {{#ifeq: x{{#if:x|{{{1|}}}}} | x{{padleft:{{{1|}}}| 500 }} <!-- str >= 500 --> | ||
| 500 | | 500 | ||
| − | | {{str len/core <!-- xx0-xx9 --> | + | | {{str len/core/sandbox <!-- xx0-xx9 --> |
| − | | | + | | 1 = {{{1|}}} |
| − | | {{str len/core <!-- x0x-x9x --> | + | | 2 = {{str len/core/sandbox <!-- x0x-x9x --> |
| − | | | + | | 1 = {{{1|}}} |
| − | | {{str len/core <!-- 0xx-4xx --> | + | | 2 = {{str len/core/sandbox <!-- 0xx-4xx --> |
| − | | | + | | 1 = {{{1|}}} |
| − | | | hundreds | + | | 2 = |
| − | }}| tens | + | | 3 = hundreds |
| − | }}| ones | + | }} |
| + | | 3 = tens | ||
| + | }} | ||
| + | | 3 = ones | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 12:04, 13 November 2009
Documentation[create]
This category currently contains no pages or media.