added support for reading wholeNumber property