Template:Z-Number

From RimWorld Wiki
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