Returns the value as Double from the primitive, reading the value either from Integer or Double, not caring which one it is.
JSONPrimitive Class