adjust float number output and CSS style