palantir/plottable — pull request #533 by jtlan (2014-06-09 23:32:38+00:00)
Title: Add in formatters.

Plottable.Util.Formatters now includes functions that generate formatters:

- identity() : String-ifies the input.
- general() : Shows at most [precision] decimal places (using round-half-up).
- fixed() : Shows exactly [precision] decimal places (IEEE 754 rounding).
- currency() : Displays fixed() values with a currency symbol (defaults to $)
- percentage() : Dipplayes fixed() values as percentages.