Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 See also  














Template:Modulo






Acèh
Адыгэбзэ
Afrikaans
ak:Nhwɛsode:Mod
Alemannisch

Ænglisc
Аԥсшәа
العربية
Aragonés
ܐܪܡܝܐ
Armãneashti
Arpetan

Asturianu
Avañe'
Авар
Aymar aru
Azərbaycanca
Bamanankan

Banjar
 / Bân-lâm-gú
Basa Banyumasan
Башҡортса
Беларуская
Беларуская (тарашкевіца)

Bikol Central
Bislama
Български
Boarisch

Bosanski
Brezhoneg
Буряад
Català
Чӑвашла
Cebuano
Čeština
Chamoru
Chavacano de Zamboanga
Chi-Chewa
ChiShona
ChiTumbuka
Corsu
Cymraeg
Dansk
الدارجة
Davvisámegiella
Deitsch
Deutsch
ދިވެހިބަސް
Dolnoserbski

Eesti
Ελληνικά
Emiliàn e rumagnòl
Эрзянь
Esperanto
Estremeñu
Euskara
Eʋegbe
فارسی
Fiji Hindi
Føroyskt
Français
Frysk
Fulfulde
Furlan
Gaeilge
Gaelg
Gagauz
Gàidhlig
Galego

Gĩkũyũ
گیلکی

𐌲𐌿𐍄𐌹𐍃𐌺
/Hak-kâ-ngî
Хальмг

Hausa
Hawaiʻi
Հայերեն
ि
Hornjoserbsce
Hrvatski
Ido
Igbo
Ilokano
িি ি
Bahasa Indonesia
Interlingua
Interlingue
 / inuktitut
Iñupiatun
Ирон
IsiXhosa
IsiZulu
Íslenska
Italiano
עברית
Jawa
Kalaallisut

Kapampangan
Къарачай-малкъар

 / کٲشُر
Kaszëbsczi
Қазақша
Kernowek
Ikinyarwanda
Ikirundi
Kiswahili
Коми
Kongo
Kreyòl ayisyen
Kurdî
Кыргызча
Кырык мары
Ladino
Лакку

Latgaļu
Latina
Latviešu
Lëtzebuergesch
Лезги
Lietuvių
Ligure
Limburgs
Lingála
La .lojban.
Luganda
Lombard
Magyar
ि
Македонски
Malagasy

Malti
Māori


مصرى
مازِرونی
Bahasa Melayu
Minangkabau
 / Mìng-dĕ̤ng-nḡ
Mirandés
Мокшень
Монгол

Nāhuatl
Na Vosa Vakaviti
Nederlands
Nedersaksies
Nēhiyawēwin / 

 

Napulitano
ߒߞߏ
Нохчийн
Nordfriisk
Norfuk / Pitkern
Norsk bokmål
Norsk nynorsk
Nouormand
Novial
Occitan
Олык марий
ି
Oromoo
Oʻzbekcha / ўзбекча

ि
Pälzisch
Pangasinan
پنجابی
Papiamentu
پښتو
Перем коми

Picard
Piemontèis
Tok Pisin
Ποντιακά
Português
Qaraqalpaqsha
Qırımtatarca
Reo tahiti
Ripoarisch
Română
Romani čhib
Rumantsch
Runa Simi
Русский
Саха тыла
Gagana Samoa

Sängö
Sardu
Scots
Seeltersk
Sesotho
Sesotho sa Leboa
Setswana
Shqip
Sicilianu

Simple English
سنڌي
SiSwati
Slovenčina
Slovenščina
Словѣньскъ / 
Ślůnski
Soomaaliga
کوردی
Sranantongo
Српски / srpski
Srpskohrvatski / српскохрватски
Sunda
Suomi
Svenska
Tagalog
ி
Taqbaylit
Tarandíne
Татарча / tatarça

Tetun


Тоҷикӣ
Lea faka-Tonga

Tsetsêhestâhese
Tshivenda
Türkçe
Türkmençe
Twi
Удмурт
Basa Ugi
Українська
اردو
ئۇيغۇرچە / Uyghurche
Vahcuengh
Vèneto
Vepsän kel
Tiếng Vit
Volapük
Võro
Walon

West-Vlams
Winaray
Wolof

Xitsonga
ייִדיש
Yorùbá

Zazaki
Zeêuws
Žemaitėška

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
MediaWiki
Wikibooks
Wikidata
Wikinews
Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:Mod)

Implements the mathematical modulo operator. The returned result is always of the same sign as the modulus or nul, and its absolute value is lower than the absolute value of the modulus. However, this template returns 0 if the modulus is nul (this template should never return a division by zero error). This template is not the same as the mod operator in the #expr parser function, which first truncates both operands to an integer before calculating the remainder.

This template can be substituted.

Usage:
{{mod|dividend|modulus}}
Computes the modulo dynamically.
{{subst:mod|dividend|modulus}}
Substitute the template invokation by its computed value when saving an article wiki source.
Examples with positive integer modulus:
Examples with negative integer modulus:
Examples with positive non integer modulus:
Examples with nul modulus:

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Modulo&oldid=1233041809"

Category: 
Mathematical function templates
Hidden category: 
Wikipedia template-protected templates
 



This page was last edited on 6 July 2024, at 23:47 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki