Rounding for bounds inputs. Fixed bug when determining whether edit should be disabled.