Returns the value as Double from the primitive
You can check if the value is actually Double by reading the IsDouble property
JSONPrimitive Class