Mega Code Archive
Categories
/
Visual C++ .NET
/
Data Type
String
#include "stdafx.h" using namespace System; int main() { String^ str; int i = -73000; double dbl = 1005.01; str = String::Format("Hexadecimal format: {0:x8}", i); Console::WriteLine(str); }