G
Guest
I am converting a C++ application to C#, What in C# replaces the following
C++ functions:
overloaded opertaor=
_ecvt(Math.Abs(val),14,&dec,&sign) ; //this function converts a double to a
string & puts the position of the decimal point & the sign of value in the
dec & sign paramaters, and it lets you specify how many digits you want to
store in the string(14)
I noticed that the C# math library only has an abs() method not a fabs()
method, what would replace the fabs method?
What is used in C# to replace sprintf?
Thanks
C++ functions:
overloaded opertaor=
_ecvt(Math.Abs(val),14,&dec,&sign) ; //this function converts a double to a
string & puts the position of the decimal point & the sign of value in the
dec & sign paramaters, and it lets you specify how many digits you want to
store in the string(14)
I noticed that the C# math library only has an abs() method not a fabs()
method, what would replace the fabs method?
What is used in C# to replace sprintf?
Thanks