+ Added getValueAsNumber() convenience method
+ Allow retrieving values as doubles if they are actually integers