New `ini_parse_quantity` function