Added threshold for not rounding numbers

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Merge pull request #530 from muslimgiga/master

Added threshold for not rounding numbers