china has devalued the yuan by 33.3 percent , fixed the vat -lrb- which had varied between 8 and 15 percent depending on the type of good -rrb- at 17 percent , and set up a new consumption tax to restrain imports .