Template:Z-Number

From RimWorld Wiki
Revision as of 22:59, 25 April 2023 by Ickputzdirwech (talk | contribs) (Documentation. But also suggested deletion)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation icon Template documentation

Summary

This template takes the following three optional parameters:

1 : A number. Default = 0 (let's call it x)
2 : A number. Default = 0 (let's call it y)
3 : A number. Default = 1 (let's call it z)

This template calculates:

(x - y) / z

Examples

The default case {{Z-Number}} results in: 0

{{Z-Number|5|3|7} results in: 0.28571428571429