This is a duplicate of this post (also the top result on google): How to format number of decimal places in wpf using style/template?
Try one of these:
<TextBox Text="{Binding XValue, StringFormat=N2}" />
<TextBox Text="{Binding XValue, StringFormat=#,#.00}" />