"ढाँचा:Precision" का संशोधनहरू बिचको अन्तर

typo?
सा update template name
पङ्क्ति १:
</noinclude><!--
<includeonly>{{Precision/a|{{{1}}}|{{#titleparts:{{{1}}}|1|2}}}}</includeonly><noinclude>
--============================================================
 
-- Getprecision - Get precision of number as decimal digits
{{Documentation}}
--============================================================
 
-- (see NOTES at bottom)
</noinclude>
--
--></noinclude>{{#ifeq: {{{1|15.1230}}}|0|<!--then handle zero
-->{{#expr: {{str_len|{{{1|0.00}}}}} - 1 <!--
--> {{#ifexpr: {{{1|0.00}}}+1 > {{{1|0.00}}}1 | - 1}}<!--
--> {{#ifexpr: {{{1|0.00}}} < 0| - 1}} }}<!--endexpr
-->|<!--else determine the
precision-->{{#expr: {{str_len|{{{1|15.1230}}}}} <!--
--> - {{Order of magnitude|{{{1|15.1230}}} round 0}} - 1 <!--
--> {{#ifexpr: {{{1|15.1230}}}={{{1|15.1230}}}0 | - 1}}<!--
--> {{#ifexpr: {{{1|15.1230}}} < 0| - 1}} }}<!--endexpr#
-->}}<noinclude><!--endif {1}=0
--
--------------------------------------------------------------
--NOTES:
--
--NOTE A1: This template determines the precision of a number
-- by counting the length of the numeric string, then
-- subtracting integer length, minus the decimal point if
-- not an integer, minus 1 if negative.
--
--NOTE D2: The check, for whole integers, compares the amount
-- versus appending "0" at the end: when the amount is a
-- decimal, then the value is unchanged by appending 0 at
-- the end: so 5.23 = 5.230 is true, whereas for whole
-- integers, it would be: 5 = 50 as false, due to values
-- becoming n*10 for integer n. So, for integer n, the
-- check rejects: n = n0 as false; hence n is integer.
--
--NOTE Z3: The check on zero for any .00000 compares adding 1
-- to the amount, versus appending "1" at the end: if the
-- amount is a decimal, then adding 1 will be larger than
-- appending 1 at the end: 0.00 + 1 > 0.001, whereas for
-- whole zero, it would be: 0+1 > 01 as false, due to the
-- value being the same. So, for integer 0, the check
-- rejects: 0+1 > 01 as false; hence whole 0 is integer.
--
--
---------------------------------------------------------------
--HISTORY:
--15Aug10 Created to get precision even if large or negative.
--15Aug10 Put NOTES comments to explain template coding.
--15Aug10 Put HISTORY comments to log major changes.
--18Aug10 Fixed to handle zero: 0 as 0, 0.000 as 3, etc.
--04Sep10 Fixed to handle decimals between 0~1 (by round 0).
--04Sep10 Updated NOTES to explain the check appending 0 or 1.
--
-->{{documentation}}</noinclude>
"https://ne.wikipedia.org/wiki/ढाँचा:Precision" बाट अनुप्रेषित