str(number,width,presicion) function
-
-
How to implement string Str( float number, ushort width, ushort presicion) should return string whose size if width characters, left padded by spaces and having presicion characters after decimal point using current culture decimal separator?
Andrus
The string.Format method will do this for you.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
The string.Format method will do this for you.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
How to implement string Str( float number, ushort width, ushort presicion) should return string whose size if width characters, left padded by spaces and having presicion characters after decimal point using current culture decimal separator?
Andrus