set length for value
-
Hi guys i have a value for example 23 now i display this like "000023.0" length shoulbe be 8. if i give 44.5 means it should display "000044.5", so lenght not exeed 8. please tell me how to display like this.
Praveen Kumar.R
-
Hi guys i have a value for example 23 now i display this like "000023.0" length shoulbe be 8. if i give 44.5 means it should display "000044.5", so lenght not exeed 8. please tell me how to display like this.
Praveen Kumar.R
Same as below - the Format method on the string class, or even the ToString on the int class, can be told what number format is needed.
Christian Graus - Microsoft MVP - C++ "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 )
-
Hi guys i have a value for example 23 now i display this like "000023.0" length shoulbe be 8. if i give 44.5 means it should display "000044.5", so lenght not exeed 8. please tell me how to display like this.
Praveen Kumar.R