First, you are not required to use the onItemDataBound event to formatnumbers instead use the DataFormatString
<columns><asp:BoundColumn DataField=myDataDataFormatString="#,##0.00" ItemStyle-HorizontalAlign="right" /></columns>