Open main menu
Home
Random
Log in
Settings
About ZCubes Wiki
Disclaimers
ZCubes Wiki
Search
Changes
← Older edit
Manuals/calci/MOPWITHMOD
(view source)
Revision as of 09:35, 9 June 2020
16 bytes added
,
09:35, 9 June 2020
no edit summary
Line 16:
Line 16:
*The syntax is to calculate remainder of the given numbers in ZOS is <math>MOD(Number,Divisor)</math>.
*The syntax is to calculate remainder of the given numbers in ZOS is <math>MOD(Number,Divisor)</math>.
**<math>Number</math> and <math>Divisor</math> are any real numbers.
**<math>Number</math> and <math>Divisor</math> are any real numbers.
−
*For e.g.,
mod
(10,2),
mod
(50.2,-4)
+
*For e.g.,
MOD
(10,2),
MOD
(50.2,-4)
==Examples==
==Examples==
Line 26:
Line 26:
#=MOD(-52,7)=4
#=MOD(-52,7)=4
#=MOD(0,9)=0
#=MOD(0,9)=0
−
#=MOD(9,0)=
NAN
+
#=MOD(9,0)=
#N/A (DIVISOR == 0)
#=MOD(5.5,2)=1.5
#=MOD(5.5,2)=1.5
Devika
writer
6,694
edits