edit number for js numeric lib