VSync icon indicating copy to clipboard operation
VSync copied to clipboard

Sending Doubles

Open cookn opened this issue 8 years ago • 1 comments

this seems to only work for integers is there a work around to make it work with doubles? i have to send data that is more accurate than the closest whole number

cookn avatar Jan 04 '17 21:01 cookn

There is indeed a dirty workaround. Multiply your number by 1000 before you send it and then divide by 1000 again on the receiving side (use floating point division, not integer division)

ernestum avatar Feb 27 '17 11:02 ernestum