Added threshold for not rounding numbers

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>