1

Retain upto 2 decimal point for numeric values

view story
linux-howto

http://www.unix.com – Hi I have a big file with lines like below <tr align="center" bgcolor="SEASHELL"><td>94% </td><td>4.62178 </td><td>73.4375 </td></tr> <tr align="center" bgcolor="SEASHELL"></td><td>97% </td><td>3.2962 </td><td>125 </td></tr> I want to format the file such that i get like below. i.e retain upto two point decimal where it sees decimal point <tr align="center" bgcolor="SEASHELL"></td><td>94% </td><td>4 (HowTos)