Keith
2010-04-21 02:12:01 UTC
Hello,
I have the following sequence of statements
double MyDouble1;
bool TryParseReturnValue;
String ^ a = gcnew String("123.456");
TryParseReturnValue = Double::TryParse(a,MyDouble1);
MyDouble1 += 1;
a = Double::ToString(MyDouble1,IFormatProvider); // <---- error here
I do not understand what I need to put into the line with the error in order
to make it work. It's clear that "IFormatProvider" is incorrect, but what
are the exact options. Can you help?
Keith
I have the following sequence of statements
double MyDouble1;
bool TryParseReturnValue;
String ^ a = gcnew String("123.456");
TryParseReturnValue = Double::TryParse(a,MyDouble1);
MyDouble1 += 1;
a = Double::ToString(MyDouble1,IFormatProvider); // <---- error here
I do not understand what I need to put into the line with the error in order
to make it work. It's clear that "IFormatProvider" is incorrect, but what
are the exact options. Can you help?
Keith