Tool for evaluating the sign of a number (its polarity) or a list of relative numbers and possibly change the sign (positive, negative), find absolute value, sort or separate values greater than or less than 0.

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day! A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Tool for evaluating the sign of a number (its polarity) or a list of relative numbers and possibly change the sign (positive, negative), find absolute value, sort or separate values greater than or less than 0.

Answers to Questions

How to determine the sign of a number?

Plus (+) and minus (-) signs are used to represent the polarity of a number, e.g. its position relative to the value 0. A negative number begins with the symbol - and a positive number by + but this is generally omitted (absent from representations of positive numbers).

Example: $ +123 $ is written $ 123 $

What is the sign of 0? Is Zero positive or negative?

It depends on the meaning of the words positive and negative, in the strict sense, zero has no sign, it will be considered neither positive nor negative. In practice, it is considered to be both positive and negative.

$ 0 $ is usually positive when written where it is displayed without the - sign

How to write the symbol plus or minus?

The sign ± has for Unicode code U+00B1 and latex symbol '\ pm': $ \pm $

What is the absolute value?

The absolute value of a number is the value of the number regardless of the sign (ie always positive).

Example: The absolute value of $ -4 $, noted $ | -4 | $ is equal to $ 4 $

Source code

dCode retains ownership of the source code of the script Sign (Positive/Negative) online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. To download the online Sign (Positive/Negative) script for offline use on PC, iPhone or Android, ask for price quote on contact page !