rabbitmq / rabbitmq-objc-client

RabbitMQ client for Objective-C and Swift
https://rabbitmq.com
Other
241 stars 84 forks source link

RMQValues file has missing return value of RMQDouble #105

Closed yilmazgamze closed 7 years ago

yilmazgamze commented 7 years ago

RMQDouble has "floatValue" property which is double. However this float value property is not assigned at all. Besides, there's a doubleValue property which is not accessible from outside, in .m file. Generally its implemented.

Then, in log it seems as:

@"object": <RMQDouble: 0x13e20de00 doubleValue = 39.9002402 floatValue = 0>,

And cannot be get its exact double value.

camelpunch commented 7 years ago

@gamzeylmz does the above commit solve your problem?

yilmazgamze commented 7 years ago

Yeah, we can accept is as solution. I didn't commit here but did the same.

michaelklishin commented 7 years ago

@gamzeylmz thank you for reporting back!