Tool to give upper and lower bound of a number. The inequality chained notation a < b < c stands for a < b and b < c which describes a double inequality with a lower and upper bound of the number b.

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Tool to give upper and lower bound of a number. The inequality chained notation a < b < c stands for a < b and b < c which describes a double inequality with a lower and upper bound of the number b.

Answers to Questions

How to find upper and lower bounds of a number?

To find upper and lower bounds of a number, make rounding according to a given precision or multiple and return a result with the inequality chained notation.

Example: \( 1.23 \) rounded to one digit after decimal point to upper bound is \( 1.2 \), and \( 1.3 \) to lower bound. The representation with a double inequality is $$ 1.2 < 1.23 < 1.3 $$

dCode find the upper bound and the lower bound of the number according to the required accuracy. Inequality is strict by default, but can sometimes introduce less than or equal signs.

Inequalities display the boundaries in order from the smallest to the biggest limit. But it is possible to write them in reverse $$ 1.3 > 1.23 > 1.2 $$

Ask a new question

Source code

dCode retains ownership of the source code of the script Inequality Chained Notation. 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, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Inequality Chained Notation script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK