<?xml version="1.0" encoding="UTF-8"?>
<test id="wmlscript/type/operator/3" class="C" scope="wmlscript:float" testtype="application" type="auto" source="wmls11#6.9" device="both">
  <assertion>When an operator expects operands of type Float, if the operand is of type Float or can be converted to a Float value, then the operation is performed on the Float values and its result is returned.
</assertion>
  <results>
    <result>
      <name>test</name>
      <value>pass</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<onevent type="onenterforward">
<go href="<script1>#main('test','card1')"/>
</onevent>
<auto_failed>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
<onevent type="onenterforward">
<go href="<resulturl>">
<postfield name="test" value="$test"/>
<sessionvars>
</go>
</onevent>
<auto_failed>
</card>
]]>
    </card>
  </cards>
  <scripts>
    <script id="1">
      <![CDATA[extern function main(myvar,next) {
	var result = 'fail';

	if (typeof(4.5 * "1.3") == 1) {
		result = 'pass';
	}

	WMLBrowser.setVar(myvar, result);
	WMLBrowser.go('#' + next);
	return 1;
}
]]>
    </script>
  </scripts>
</test>

