Format the discretized labels using 'number_of_decimals'.
Separated the implementation of to_val and value_from_str_add.
Fixed a wrong assert condition.
Merge pull request #130 from ales-erjavec/disc-format

Discretized labels formating