Rounding floats with f-string : <p>Using %-formatting, I can specify the number of decimal cases in a string:</p>

<pre><code>x = 3.14159265
print('pi = %0.2f' %x)
</code></pre>

<p>This would give me:</p>

<pre><code>pi = 3.14
</code></pre>

<p>Is there any way of doing this using f-strings in Python 3.6?</p>
