protobuf-decoder icon indicating copy to clipboard operation
protobuf-decoder copied to clipboard

fix: 🐛 Add change for convert long decimal in short decimal with two numbers

Open JhoanAlvear opened this issue 1 year ago • 2 comments

JhoanAlvear avatar Oct 31 '23 16:10 JhoanAlvear

Change tittle

JhoanAlvear avatar Oct 31 '23 17:10 JhoanAlvear

As a debugging tool, we should be trying to display values as close to the real value in the Proto file as possible and not arbitrary trim it to a specific amount of decimal.

This doesn't address #69 either as that's talking about float, not doubles. To fix #69, perhaps the only way would be to decode the float in such a way that does not use JS numbers as JS numbers are always 64-bit floating point.

pawitp avatar Nov 03 '23 00:11 pawitp