Removed duplicated function An equivalent exists (couch_util:to_integer/1), but for this particular case it's not needed.