Fix issue with setValue not taking into account the format when passing in a string
Merge pull request #255 from bagal/master

#228 - Fix issue with setValue not taking into account the format