You can try with this code:
   myValue = format(<range>,"#0.00%")
Regards,
Antonio