Difference between revisions of "Documentation/How Tos/Calc: MOD function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Bot: Adding Category: Documentation) |
m |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:MOD function}} |
+ | {{Documentation/CalcFunc MathematicalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_QUOTIENT_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_EXP_function | ||
+ | }}__NOTOC__ | ||
== MOD == | == MOD == | ||
Line 8: | Line 13: | ||
: For integer arguments this function returns <tt>'''number'''</tt> modulo <tt>'''divisor'''</tt>, that is the remainder when <tt>'''number'''</tt> is divided by <tt>'''divisor'''</tt>. | : For integer arguments this function returns <tt>'''number'''</tt> modulo <tt>'''divisor'''</tt>, that is the remainder when <tt>'''number'''</tt> is divided by <tt>'''divisor'''</tt>. | ||
− | : This function is implemented as <tt>'''number - divisor * INT( number/divisor)'''</tt> , and this formula gives the result if the arguments are not integer. | + | : This function is implemented as <tt>'''number - divisor * INT(number/divisor)'''</tt> , and this formula gives the result if the arguments are not integer. |
=== Example: === | === Example: === | ||
Line 17: | Line 22: | ||
: returns <tt>'''1.25'''</tt>. | : returns <tt>'''1.25'''</tt>. | ||
− | {{ | + | {{SeeAlso|EN| |
* [[Documentation/How_Tos/Calc: QUOTIENT function|QUOTIENT]] | * [[Documentation/How_Tos/Calc: QUOTIENT function|QUOTIENT]] | ||
* [[Documentation/How_Tos/Calc: INT function|INT]] | * [[Documentation/How_Tos/Calc: INT function|INT]] | ||
Line 25: | Line 30: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
− | [[Category: Documentation]] | + | [[Category: Documentation/Reference/Calc/Mathematical functions]] |
Latest revision as of 14:57, 31 January 2024
- Mathematical FunctionsTrigonometric
- COSSINTANCOTACOSACOTASINATANATAN2DEGREESRADIANSPIHyperbolic
- COSHSINHTANHCOTHACOSHACOTHASINHATANHRounding and remainders
- TRUNCROUNDROUNDDOWNROUNDUPCEILINGFLOOREVENODDMROUNDINTQUOTIENTMODLogarithm/Powers
-