Manuals/calci/ENFORCENEGATIVE

From ZCubes Wiki
Jump to navigation Jump to search
ENFORCENEGATIVE(Number)


  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Number} is any real number.

Description

  • This function converts or enforces the given number or set of numbers to negative value.
  • If the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Number} is negative, it is retained as negative only.
  • Number 'zero' is natural number, neither positive nor negative.
  • The argument can also be a result of any function.


Examples

  1. ENFORCENEGATIVE(44) = -44
  2. ENFORCENEGATIVE(2.45) = -2.45
  3. ENFORCENEGATIVE(-407) = -407
  4. ENFORCENEGATIVE(SUM([5,30])) = -35

For a set of numbers, the function displays a table as follows -

  • ENFORCENEGATIVE(-5..5)=
Nature Number ENFORCETYPE
negative -5 -5
negative -4 -4
negative -3 -3
negative -2 -2
negative -1 -1
negative 0 0
negative 1 -1
negative 2 -2
negative 3 -3
negative 4 -4
negative 5 -5

Related Videos

INT Function

See Also


References