PureBytes Links
Trading Reference Links
|
I'd like to convert a string variable to an integer in JScript.
Anyone know how to do it?
// Start JScript
DateStart = "30";
DateEnd = "50";
DateCheck = "6";
// Somehow Convert to Integers to apply Math calcs........
if (DateCheck < DateStart) { WScript.Echo("Early");}
if (DateCheck > DateEnd) { WScript.Echo("Late");}
// End JScript
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|