I've been playing with numerical approximations for irrational numbers, and would find it convenient to be able to highlight where these approximations deviate from the known correct answers. For example, it would be nice to be able to output a number that looks like
where most of the digits have the default Output format, but after a specified number of digits, a different format (bold and red in this example) applies.
What would be the most elegant way to accomplish this?