1234567891011121314
#include "stdafx.h" using namespace System; using namespace System::IO; int main(array<System::String ^> ^args) { System::Double dec = 85.948492834743; System::String ^ str = dec.ToString("N2"); Console::WriteLine(str); return 0; }