class="paramtype">int</td><td class="paramname">$scale</td><td>[optional] </td></tr>
  </table>
  </dd>
</dl>
<p>The optional <em>scale</em> parameter is used to set the number of digits after the decimal place which will be used in the comparison. </p>
<dl class="section return"><dt>Returns</dt><dd>int 0 if the two operands are equal, 1 if the <em>left_operand</em> is larger than the <em>right_operand</em>, -1 otherwise. </dd></dl>
<dl class="section since"><dt>Since</dt><dd>4.0 </dd>
<dd>
5.0 </dd>
<dd>
7