A friend asked me to update his shopping cart software. It's written in classical ASP using IE's JScript. I can't seem to format the variables correctly.
. <% if (oOrder['product'] == "camera")
{ %> <%= format_float(oOrder['cost'], 2, 3)/2 %> <% } %>
%>
When I do this I get a bunch of jibberish with regards to the output. I'm guessing it's because of a datatype mismatch.
I get -1.#IND
as the output.