title: How to round double in XAML, WPF?
body: <p>I have the following code in XAML:</p>
  
  <pre><code>&lt;TextBlock Text="{Binding XValue}" /&gt;
  </code></pre>
  
  <p>The XValue contains a lot of decimals(1952.230822830529)</p>
  
  <p>I want it to contain only 2 decimals like 1952.23 and i want to do this in the XAML code.</p>
  
  <p>I have searched the internet but not found a solution to my problem - so is it even to do this in XAML using string format?</p>