BUGFIX: Fix formating precision for floats close to 0 (Issue #486)
BUGFIX: Fix formating precision for floats close to 0 (Issue #486)

The `toPrecision` function prints precision number of **significant**
digits instead of **number of digits after .**.
(see
https://developer.mozilla.org/cs/docs/Web/JavaScript/Reference/Global_Objects/Number/toPrecision)

For numbers which are close to 0 (closer than (10**-precision)) this is
wrong. We should call `toFixed` instead.

Hasimir/brython,brython-dev/brython,Hasimir/brython,Hasimir/brython,jonathanverner/brython,jonathanverner/brython,kikocorreoso/brython,kikocorreoso/brython,brython-dev/brython,brython-dev/brython,kikocorreoso/brython,jonathanverner/brython,jonathanverner/brython,Hasimir/brython