Supoose you want only two digits after decimal then create a datatemplate in Celltemplate of datagrid and set it's string formate property as follows
<TextBox Text="{Binding Property, StringFormat={}{F2},UpdateSourceTrigger=PropertyChanged}">
Suppose you want one digit after decimal then try F1 if zero then F0
Hope this helps.