UPDATE: NumberUtils plus some tests.
Under construction...