Content deleted Content added
→boolean: nothing's easy |
→Range with a negative: new section |
||
Line 125:
:The module code is chaotic. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 22:42, 19 September 2013 (UTC)
::Yes please. More brutal testing would be good, and please let me know any good or bad findings. I guess you've seen [[User:Johnuniq/Using the convert module]] which has links to various tests, as well as a "roadblocks" section. I'll plead guilty to "complex", but I can't agree with "chaotic"! [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 10:36, 20 September 2013 (UTC)
== Range with a negative ==
About writing a range of values that contain a negative value.
Consider
* <nowiki>{{convert|-8|-|-3|F|C}}</nowiki> → {{convert|-8|-|-3|F|C}}
* <nowiki>{{convert/sandboxlua|-8|-|-3|F|C}}</nowiki> → {{convert/sandboxlua|-8|-|-3|F|C}}
The minuses and dashes are formally correct in lua, but make awkward writing/reading. [[WP:MOSNUM]] gives this option:<br>
''If negative values are involved, an en dash might be confusing. Use words instead: {{xt|−10 to 10}}, not {{!xt|−10 – 10}}.''<br>
The example would then look like: −8 to −3 °F (−22 to −19 °C). For ease of reading, 'to' should be used in both ranges, even when only one would have a negative. Ideas anyone? -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 00:17, 21 September 2013 (UTC)
|