Open main menu
Home
Random
Log in
Settings
About ZCubes Wiki
Disclaimers
ZCubes Wiki
Search
Changes
← Older edit
Newer edit →
Manuals/calci/NEGATIVE
(view source)
Revision as of 11:39, 7 April 2017
241 bytes removed
,
11:39, 7 April 2017
no edit summary
Line 3:
Line 3:
==Description==
==Description==
−
*This function
gives
the
negative of a
given number.
+
*This function
checks if
the given number
is negative or not
.
−
*Suppose the <math>Value</math> is
a positive number
,then this function returns
a negative number
.
+
*Suppose the <math>Value</math> is
non-negative
,then this function returns
'false'
.
−
*If <math>Value</math> is a negative number ,then this function returns
a positive number
.
+
*If <math>Value</math> is a negative number ,then this function returns
'true'
.
−
*Also <math>n</math> is zero, this function shows 0.
+
−
*This function will shows the result as error when the <math>n</math> value is non-numeric.
−
*Also when we are giving the <math>n</math> value with Complex number, then it will consider only the real part of a Complex number.
==Examples==
==Examples==
−
# =
SIGN
(56) =
1
+
# =
NEGATIVE
(56) =
false
−
# =
SIGN
(-
490
) =
-1
+
# =
NEGATIVE
(-
600
) =
true
−
# =
SIGN
(0) =
0
+
# =
NEGATIVE
(0) =
false
−
# =
SIGN
(0.
0000001
) =
1
+
# =
NEGATIVE
(0.
340
) =
false
==Related Videos==
==Related Videos==
Line 21:
Line 19:
==See Also==
==See Also==
+
*[[Manuals/calci/NEG| NEG]]
*[[Manuals/calci/ABS| ABS]]
*[[Manuals/calci/ABS| ABS]]
Swapna
writer
2,661
edits