You are viewing a single comment's thread from:
RE: Why is median_history_price no longer the median of feed price? My investigation.
brilliant, I was looking for a great explanation of this. Resteeming.
On your last point however I am left baffled. unless there is the use if int or round somewhere in the code????
Thank you for resteemd.
You are right, the code of percent_sbd:
So although percent_sbd is actually 999.99, but it return 999, and sbd_print_rate return 100(1%) instead of 0.26(0.0026%).
Cool, Great find. Code scares me, there is no way I would have been able to read the code to find that, but math is my thing :-)