Module:Val/doc: Difference between revisions
From Kenshi Wiki
More actions
Created page with "{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}} This module implements {{tl|Val}}. The following modules are developed: *Module:Val • Main module. *Module:Val/units • Definitions for units built-in to val. Use {{tl|val/sandbox}} for testing, for example: *<code><nowiki>{{val/sandbox|1234.5678|(23)|u=cm}}</nowiki></code> → {{val/sandbox|1234.5678|(23)|u=cm}} *<code><nowiki>{{val/sandbox|1234.5678|1.23|u=cm}}</nowiki></code> → {{val/sandbox|1234.5678|1.2..." |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{doc sub}} | ||
This module implements {{tl|Val}}. | This module implements {{tl|Val}}. | ||
Line 24: | Line 24: | ||
*<code><nowiki>{{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg}}</nowiki></code> → {{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg}} | *<code><nowiki>{{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg}}</nowiki></code> → {{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg}} | ||
*<code><nowiki>{{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg|end=$|+errend=U$|-errend=L$}}</nowiki></code> → {{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg|end=$|+errend=U$|-errend=L$}} | *<code><nowiki>{{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg|end=$|+errend=U$|-errend=L$}}</nowiki></code> → {{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg|end=$|+errend=U$|-errend=L$}} | ||
<includeonly> | |||
[[Category:Modules]] | |||
</includeonly><noinclude> | |||
[[Category:Module documents]] | |||
</noinclude> |
Latest revision as of 00:53, 10 March 2025
This is a documentation subpage for Module:Val. It may contain usage information, categories and other content that is not part of the original module page. |
This module implements {{Val}}.
The following modules are developed:
- Module:Val • Main module.
- Module:Val/units • Definitions for units built-in to val.
Use {{val/sandbox}} for testing, for example:
{{val/sandbox|1234.5678|(23)|u=cm}}
→ 1234.5678(23) cm{{val/sandbox|1234.5678|1.23|u=cm}}
→ 1234.5678±1.23 cm{{val/sandbox|1234.5678|1.23|4.56|u=cm}}
→ 1234.5678+1.23
−4.56 cm{{val/sandbox|1234.5678|e=3|u=cm}}
→ 1234.5678×103 cm{{val/sandbox|1234.5678|(23)|e=3|u=cm}}
→ 1234.5678(23)×103 cm{{val/sandbox|1234.5678|1.23|e=3|u=cm}}
→ (1234.5678±1.23)×103 cm{{val/sandbox|1234.5678|1.23|4.56|e=3|u=cm}}
→ 1234.5678+1.23
−4.56×103 cm{{val/sandbox|1234.5678|1.23|4.56|e=3|u=cm|end=$|+errend=U$|-errend=L$}}
→ 1234.5678$+1.23U$
−4.56L$×103 cm{{val/sandbox|1234.5678|(23)|u=deg}}
→ 1234.5678(23)°{{val/sandbox|1234.5678|1.23|u=deg}}
→ 1234.5678°±1.23°{{val/sandbox|1234.5678|1.23|4.56|u=deg}}
→ 1234.5678°+1.23°
−4.56°{{val/sandbox|1234.5678|e=3|u=deg}}
→ 1234.5678°×103{{val/sandbox|1234.5678|(23)|e=3|u=deg}}
→ 1234.5678(23)°×103{{val/sandbox|1234.5678|1.23|e=3|u=deg}}
→ (1234.5678°±1.23°)×103{{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg}}
→ 1234.5678°+1.23°
−4.56°×103{{val/sandbox|1234.5678|1.23|4.56|e=3|u=deg|end=$|+errend=U$|-errend=L$}}
→ 1234.5678$°+1.23U$°
−4.56L$°×103