* I think `toc` and `tac` should return a `float`, and there is no point of returning a `str`. * `digits` should be used to control the number of digits of the **printed** value, not of the returned value. See also #322.