added digits argument (from round()), with default of zero to make the code cleaner.
Merge branch 'fix-saveExtent' into develop

added 'digits' argument from round() to clean up extent() code.