stung stung - 1 year ago 104
C++ Question

How to convert a unmanaged double to a managed string?

From managed C++, I am calling an unmanaged C++ method which returns a double. How can I convert this double into a managed string?

Answer Source

I assume something like

(gcnew System::Double(d))->ToString()
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download