<html><head><title>IntQ</title></head><body bgcolor="#FFFFFF" link="#207BC3" vlink="#003B83" alink="#003B83"><font face="Arial" size="2"><p align="center"><b><font size="4">IntQ()</font></b></p><p><b>Syntax</b></p><blockquote>Result = <font color="#207BC3"><b>IntQ</b></font>(Number.f)</blockquote></blockquote><b>Description</b><br><blockquote>Returns the integer part of a float number as a quad.</blockquote><p><b>Parameters</b></p><blockquote><style type="text/css">table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }</style><table width="90%" class="parameters"><tr><td width="10%"><i>Number.f</i></td><td width="90%">The input value. This can be a <a href="../reference/variables.html">float or double</a> value.</td></tr></table></blockquote><p><b>Return value</b></p><blockquote>Returns the integer part by cutting off the fractional part.</blockquote><p><b>Remarks</b></p><blockquote>This function returns a <a href="../reference/variables.html">quad</a> value. The <a href="int.html">Int()</a> function has only therange of an integer, but it may be faster to execute on 32-bit systems.<br><br>The integer part is created by cutting off the fractional part of the value. There is no rounding.To perform rounding, use the <a href="round.html">Round()</a> function.</blockquote><p><b>Example</b></p><blockquote><pre><font face="Courier New, Courier, mono"size="2"> <b><font color="#207BC3">Debug</font></b> <font color="#207BC3">IntQ</font>(12345678901.565) <font color="#207BC3">; will display '12345678901'</font></font></pre></blockquote><p><b>See Also</b></p><blockquote><a href="int.html">Int()</a>, <a href="round.html">Round()</a></Blockquote><center><- <a href=int.html>Int()</a> - <a href="index.html">Math Index</a> - <a href="isinfinity.html">IsInfinity()</a> -><br><br></body></html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。