Add documentation examples for formatValue()

Add example showing how to forward format specifiers.
Add example highlighting the similarity with formattedWrite(), and
comparing their use.