Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Format NFormat and so on.
Re: Format NFormat and so on. [message #3177 is a reply to message #3152] |
Wed, 10 May 2006 04:09  |
lundman
Messages: 175 Registered: March 2006 Location: Tokyo
|
Experienced Member |
|
|
Cut out the extra junk I had from the example, and used yours and it works fine.
Left with:
// "Wednesday 10/05/2006 10:23:43"
SetDateFormat("%4:Day %3:02d/%2:02d/%1:4d");
Which will do.. should really give the user the option to chose this, but it would be too complicated to expect a user to be able to enter a magic string like that, when even I don't know fully what the deal is 
The double problem is probably more something to do with that I should cast it to date/time to print it.
double size, cps;
return Format("%5.2n MB Remaining at %5.2n KB/s should take %` seconds",
size/1024.0, cps, size / 1024.0 / cps);
54793.43359 MB Remaining at 1715.27 KB/s should take 31 seconds
[Updated on: Wed, 10 May 2006 04:12] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Apr 30 01:59:56 CEST 2025
Total time taken to generate the page: 0.03658 seconds
|