In Visual Studio 2012, I\'m looking for a way to customize the default display of floating point types in the Autos, Locals, and Watch windows. I\'m familiar with the Native
Based on Overlord Zurg's answer, display the value of m_x with three digits as follows:
{(int)m_x}.{(int)(10*m_x) % 10}{(int)(100*m_x) % 10}{(int)(1000*m_x) % 10}
To account for negative numbers as well:
{(int)m_x}.{(int)((m_x<0?-1:1)*10*m_x) % 10}{(int)((m_x<0?-1:1)*100*m_x) % 10}{(int)((m_x<0?-1:1)*1000*m_x) % 10}