Template:Wp/zgh/Coord/negzeropad
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.
{{wp/zgh/Coord/negzeropad|original|new}}
Example: {{wp/zgh/Coord/negzeropad|-1.200|1.2}}
becomes 1.200
The above documentation is transcluded from Template:Wp/zgh/Coord/negzeropad/ⴰⵙⵙⵏⵜⵎ. (ⵙⵏⴼⵍ | ⴰⵎⵣⵔⵓⵢ) Editors can experiment in this template's sandbox (ⵙⵏⵓⵍⴼⵓ | ⵜⵉⵙⵉⵜ) and testcases (ⵙⵏⵓⵍⴼⵓ) pages. Please add categories to the /ⴰⵙⵙⵏⵜⵎ subpage. Subpages of this template. |