Difference between revisions 3653841 and 3677570 on simplewiki{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== <nowiki>{{</nowiki> Decimals | ''number'' | ''decimals (limited to 12)'' }} ==Examples== * <nowiki>{{Decimals|1234|-2}}</nowiki> yields 1200 * <nowiki>{{Decimals|1234|0}}</nowiki> yields 1234 * <nowiki>{{Decimals|1234|1}}</nowiki> yields 1234.0 * <nowiki>{{Decimals|1234|2}}</nowiki> yields 1234.00 * <nowiki>{{Decimals|9/8|5}}</nowiki> yields 1.12500 * <nowiki>{{Decimals|1/3|15}}</nowiki> yields 0.333333333333 (only the first 12 digits are returned) * <nowiki>{{Decimals|1/33|7}}</nowiki> yields 0.0303030 * <nowiki>{{Decimals|0.006|1}}</nowiki> yields 0.0 ==See also== <includeonly><!-- ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. --> [[Category:Mathematical function templates|Decimals]] [[bg:Шаблон:Закръгляване]] [[en:Template:Decimals]] [[it:Template:Decimals]] [[mi:Template:Decimals]] [[ne:ढाँचा:Decimals]] [[ja:Template:Decimals]] [[no:Mal:Desimaler]] [[pl:Szablon:Dziesiętne]] [[ru:Шаблон:Округление]] [[uk:Шаблон:Decimals]] [[ur:سانچہ:Decimals]] [[vi:Bản mẫu:Decimals]] [[diq:Şablon:Decimals]]⏎ </includeonly> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://simple.wikipedia.org/w/index.php?diff=prev&oldid=3677570.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|