سانچہ:Sum
Usage
ترمیم![]() | اس سانچے میں حسب ذیل لوا ماڈیول زیر استعمال ہے: |
This template performs addition. For example, if you want to add 2 and 3, use this: {{sum|2|3}}
, which creates 5. It handles positive and negative integers, fractions, and decimals to thirteen decimal points:
{{sum|-3|1}}
produces: -2{{sum|1|0.5}}
produces: 1.5{{sum|1|2/3}}
produces: 1.6666666666667
It also handles some symbols such as "pi" (سانچہ:Pi) or "e":
{{sum|pi|0}}
produces 3.1415926535898{{sum|e|0}}
produces 2.718281828459
More than two parameters may be employed:
{{sum|1|1|1}}
produces 3
It does not accept commas or spaces for thousands separator.
اوپر دی گئی دستاویز صفحہ سانچہ:Sum/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |