A braided silver mathematical torus

Having any kind of numerical data in JavaScript makes it almost certain that you’re going to manipulate it in some way. But past JavaScript’s arithmetical operators (covered in the operands and operators reading list), mathematical constructs can be challenging for new coders to grasp.

For that reason, rather than concentrating on syntax, this reading list starts with common mathematical functions required by coders - sorting, rounding, and generating random values before delving into detail on particular features.

Like all articles in the JavaScript reading list, this section is growing, with coming articles on trigonometry, fractals and distribution.

Reading Time: 1 hour

Prerequisites: An understanding of basic functions, operands & operators

  1. Recipes for Randomness
  2. Rounding Recipes
  3. Sorting Recipes
  4. Exponents & roots
  5. Mathematical Constants
  6. Math.abs, parseInt & parseFloat
  7. Math.max & Math.min

Rendering by fdecomite, used under a Creative Commons Attribution 2.0 Generic license

Enjoy this piece? I invite you to follow me at twitter.com/dudleystorey to learn more.