Шаблон:Convert/LoffAonSoffAnd — разлика између измена
| [непроверена измена] | [непроверена измена] |
(Нова страница: <includeonly>{{convert/outAnd|{{#expr:floor({{#expr:{{{2|152.4}}}/{{{a|12}}}/{{{b|0.0254}}}}})}}|{{{U}}}|{{convert/{{#if:{{{4|}}}|s}}{{#if:{{{3|}}}|p}}rand|{{{1|152.4}}…) |
м (1 измена увезена) |
(нема разлике)
| |
Тренутна верзија на датум 6. фебруар 2021. у 14:39
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted The Template:Convert/LoffAonSoffAnd calculates a 2-unit result (such as "ftin" or "ydft"), with the 2 unit symbols, and calls Template:Convert/outAnd to handle cases where the first amount is zero.
Technical notes
This templates also rounds the result amounts, depending on rounding by "|2" or sigfig=2 (etc.), using either Template:Convert/rand, Template:Convert/srand, Template:Convert/prand or Template:Convert/sprand.
Truncation: To avoid a tiny difference, such as 1e-13, during calculations, the 2nd amount is internally rounded to 10 decimals ("round 10") to trim any slight difference caused by truncation error beyond the 10th digit. Otherwise, a difference such as 1e-13 could generate an internal non-numeric result in x-notation, such as 0 × 10-13.
Scale: The 2nd amount is typically within the scale of 10 or a few dozen sub-units of the 1st amount. However, the template allows a precision of 9 decimals in the 2nd amount, for extremely precise scientific measurements.
See also
- Template:Convert/outAnd – formats 2-unit result, omitting 1st if zero
- Template:Convert/rand – handles the typical default rounding