<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=286252903-28062003><FONT face=Arial size=2>I don't usually do
javascript, but every now and then....</FONT></SPAN></DIV>
<DIV><SPAN class=286252903-28062003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=286252903-28062003><FONT face=Arial size=2>I am doing some time
math. I use the following statement to convert a time string (ie...15:30) to a
total number of minutes (ie..930)</FONT></SPAN></DIV>
<DIV><SPAN class=286252903-28062003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=286252903-28062003>
<P><FONT face=Arial size=2> endMinutes=endTime.substring(0,2)*60 +
endTime.substring(3,5)*1<BR></FONT></P>
<P><FONT><SPAN class=286252903-28062003><FONT face=Arial size=2>I have to use
the ending "*1" to cast the the ending string to a number, so that I get '930'
instead of a string concatenation (90030)</FONT></SPAN></FONT></P>
<P><FONT><SPAN class=286252903-28062003><FONT face=Arial
size=2></FONT></SPAN></FONT> </P>
<P><FONT><SPAN class=286252903-28062003><FONT face=Arial size=2>Works fine, but
what is the proper javascript way to do this?</FONT></SPAN></FONT></P>
<P><FONT><SPAN class=286252903-28062003><FONT face=Arial
size=2>Thanks,</FONT></SPAN></FONT></P>
<P><FONT><SPAN class=286252903-28062003><FONT face=Arial
size=2>J.R.</FONT></SPAN></P></FONT></SPAN></DIV></BODY></HTML>