JHobbs
09-22-2002, 03:42 AM
Hi All,
The server is returning a floating point error whenever I send a CGI dynamically created integer to the function
Here's the stripped-down function:
function MapPt(MidX)
{
location.href="http://www.whatever.exe/DotZoom?CC=MidX";
}
Here's the problem:
If I sent this to the function
HREF="javascript:MapPt(4447)
the server handles the function ok
but if I replace the number 4447 with a dynamically generated integer, I get this error from the server:
Exception EConvertError
Message: MidX is not a valid floating point value
I'm not sure if I given you enough to go on. I wanted to just include relevant information.
Thanks
The server is returning a floating point error whenever I send a CGI dynamically created integer to the function
Here's the stripped-down function:
function MapPt(MidX)
{
location.href="http://www.whatever.exe/DotZoom?CC=MidX";
}
Here's the problem:
If I sent this to the function
HREF="javascript:MapPt(4447)
the server handles the function ok
but if I replace the number 4447 with a dynamically generated integer, I get this error from the server:
Exception EConvertError
Message: MidX is not a valid floating point value
I'm not sure if I given you enough to go on. I wanted to just include relevant information.
Thanks