Fixes an issue where the original type of NSNumber (integer vs real) was lost when an integer value was stored in a real field (e.g. <real>10</real> would roundtrip as an integer)
Uses the TryParse methods instead of try/catch logic in the NSNumber(string) constructor
This PR:
NSNumber
(integer vs real) was lost when an integer value was stored in a real field (e.g.<real>10</real>
would roundtrip as an integer)TryParse
methods instead oftry
/catch
logic in theNSNumber(string)
constructorHope it helps!