Changes
Jump to navigation
Jump to search
m
Template:Coord/negzeropad/doc (view source)
Revision as of 19:08, 1 November 2018
, 19:08, 1 November 2018add {{documentation subpage}}
{{documentation subpage}}
Adds zeros to the end of ''new'' until it is the same as the negative ''original'' without its sign. Used with functions that have done ''new''=abs(''original'') and lost precision.
:<code><nowiki>{{Coord/negzeropad|original|new}}</nowiki></code>
Example: <code><nowiki>{{Coord/negzeropad|-1.200|1.2}}</nowiki></code> becomes {{Coord/negzeropad|-1.200|1.2}}
[[Category:Coord template]]
Adds zeros to the end of ''new'' until it is the same as the negative ''original'' without its sign. Used with functions that have done ''new''=abs(''original'') and lost precision.
:<code><nowiki>{{Coord/negzeropad|original|new}}</nowiki></code>
Example: <code><nowiki>{{Coord/negzeropad|-1.200|1.2}}</nowiki></code> becomes {{Coord/negzeropad|-1.200|1.2}}
[[Category:Coord template]]