Template:Precision/a/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

The subtemplate is called by {{precision}} (the main template page). This main page will have determined whether the input is in the form of a fraction or decimal/integer.

  • For fractional input it returns the base ten logarithm of the numerator.
  • Otherwise it determines whether the input is a decimal or integer and calls either {{precision/1}} or {{precision/0}} accordingly.