Template:Number/doc

From Bare Metal micro:bit
< Template:Number
Revision as of 18:02, 11 August 2023 by Mike (talk | contribs) (Created page with "Write :<nowiki>{{Number|10 000}}</nowiki> to get :{{Number|10 000}} with a thin non-breaking space. The implementation uses the @#replace@ string function, and relies on the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Write

{{Number|10 000}}

to get

10 000

with a thin non-breaking space.

The implementation uses the #replace string function, and relies on the feature that an empty 'find' string is treated as a single space.