convert double precision number to decimal using Double.doubleToLongBits() java method ?
2 次查看(过去 30 天)
显示 更早的评论
I'm sending double precision numbers with simulink (udp) to eclipse and I want to write a java code to unpack that . can I use Double.doubleToLongBits?
I receive packes in byte , so I should convert these byte somehow to be able to use this method . could anybody help me ?
I converted byte to long and then tried to apply this method but the result was totally wrong . I really need help !
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!