type cast values as they are set
Merge pull request #9 from rhec/feature/type_cast_on_assignment

type cast values as they are set