pomelo-cn icon indicating copy to clipboard operation
pomelo-cn copied to clipboard

pomelo和libpomelo通信浮点数问题

Open helloPomelo opened this issue 9 years ago • 0 comments

服务器:pomelo 客户端:libpomelo 通信的时候,服务端传输的数值是10.55,pomelo服务器在发送数据的时候在pro.send这边做了一个日志logger.debug的send message reqId这个输出也是对应10.55.但是在客户端接收的时候却是变成10.550000000000001这个数值,请问有人碰到类似情况么?求指教

helloPomelo avatar Mar 06 '15 11:03 helloPomelo