साँचा:Valid
Purpose
संपादित करेंDetermines whether something is valid in a certain context. Currently only implemented for determining if a number is within the precision that wikipedia expressions can handle.
Returns
संपादित करेंtrue if the argument is valid, false if it is not.
Examples
संपादित करें{{valid|number=A}}
= गलत (संख्या नहीं है){{valid|number=1234}}
= सही{{valid|number=+1234}}
= सही{{valid|number=-1234}}
= सही{{valid|number=(1234)}}
= सही (one pair of parenthesis is allowed){{valid|number=--1234}}
= गलत (incorrect sign use){{valid|number=1234567890}}
= सही{{valid|number=12345678901234567890}}
= गलत (too large){{valid|number=1.234567890}}
= सही{{valid|number=1.2345678901234567890}}
= गलत (too many decimals)