BUG: style.set_precision(0) displays spurious .0
Fixes #12134

tests!

e.g. format a frame with a bunch of specific test data (e.g. like you have in the issue, but with NaN, infs, and any special cases).

Then assert that the contents of the generated HTML are what you expect
 superseded by #12162
