ProgramPlayer commented on issue #17842: URL: https://github.com/apache/echarts/issues/17842#issuecomment-1297940271
> I don't think this is a bug. `382206/382208` is `0.99999477`. When the precision is 2, it should be rounded to be 100% rather than 99.99%. 嗯嗯,你说的没错,算法确实没问题。那以后要是遇到保留2位小数的情况,大部分情况下{d}变量不就都用不了了哦,毕竟100%和99.99%所表达的含义还是有差别的。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org