Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Manuals/calci/MOD
(view source)
Revision as of 03:45, 26 December 2013
37 bytes added
,
03:45, 26 December 2013
no edit summary
Line 1:
Line 1:
<div style="font-size:30px">'''MOD(n,d) '''</div><br/>
<div style="font-size:30px">'''MOD(n,d) '''</div><br/>
−
*<math>n</math> is any real number and <math>d</math>is the divisor
+
*<math>n</math> is any real number and <math>d</math> is the divisor
==Description==
==Description==
Line 7:
Line 7:
*For e.g., MOD(5,2)=1. Here 1 is the remainder.
*For e.g., MOD(5,2)=1. Here 1 is the remainder.
*The <math>MOD</math> function we can write using <math>INT</math> function: <math> MOD(n,d)=n-d*INT(n/d)</math>.
*The <math>MOD</math> function we can write using <math>INT</math> function: <math> MOD(n,d)=n-d*INT(n/d)</math>.
−
*This function will return the result as error when the d value is 0.
+
*This function will return the result as error when the
<math>
d
</math>
value is 0.
−
*Suppose the value of n and d with same sign either '+' or '-',then the result also with same sign.
+
*Suppose the value of
<math>
n
</math>
and
<math>
d
</math>
with same sign either '+' or '-',then the result also with same sign.
−
*But <math> n</math> and <math> d </math>are with different then the result will come with the <math> d </math> sign only.
+
*But <math>n</math> and <math>d</math>are with different then the result will come with the <math> d </math> sign only.
Devika
writer
6,694
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Community portal
Current events
Recent changes
Help
Tools
ZCubes Web Platform
Printable version