Difference between revisions 4119651 and 4158930 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 ==Related pages== <includeonly><!-- ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. --> [[Category:Mathematical function templates|Decimals]] [[ba:Ҡалып:Округление]] [[bg:Шаблон:Закръгляване]] [[en:Template:Decimals]] [[gl:Modelo:Decimais]] [[ko:틀:Decimals]] [[it:Template:Decimals]] [[ka:თარგი:ათობითები]]⏎ [[ku:Şablon:Dehanî]] [[ml:ഫലകം:Decimals]] [[mi:Template:Decimals]] [[ne:ढाँचा:Decimals]] [[ja:Template:Decimals]] [[no:Mal:Desimaler]] [[pl:Szablon:Dziesiętne]] [[pt:Predefinição:Decimals]] [[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=4158930.
![]() ![]() 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.
|