ahab Posted July 3, 2004 Share Posted July 3, 2004 $foo = @MDAY $bar = @MDAY + 01 returns... $foo = 03 $bar = 4 I want $bar to be 04, not just 4... Link to comment Share on other sites More sharing options...
tutor2000 Posted July 3, 2004 Share Posted July 3, 2004 $foo = @MDAY$bar = @MDAY + 01returns...$foo = 03$bar = 4I want $bar to be 04, not just 4... $val = 3.5$output = StringFormat("%.2f", $val)MsgBox(4096, "", $output)Got this from JonRick Link to comment Share on other sites More sharing options...
trids Posted July 3, 2004 Share Posted July 3, 2004 .. or .. $foo = @MDAY $bar = StringRight(@MDAY + 101,2) msgbox (0,"",$bar) Link to comment Share on other sites More sharing options...
tutor2000 Posted July 3, 2004 Share Posted July 3, 2004 .. or .. $foo = @MDAY $bar = StringRight(@MDAY + 101,2) msgbox (0,"",$bar)Keep in mind ahab whichever way you do it (nice one trids I never tried that before I'm too new) that it will become a string not a number so save that function for last Rick Link to comment Share on other sites More sharing options...
ahab Posted July 3, 2004 Author Share Posted July 3, 2004 rockon!Thanks guys.I used trids suggestion in my Comic downloader & HTML generator Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now