<html><head><title>Val</title></head><body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000"><font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">Val()</font></b></p><p><b>Syntax</b></p><blockquote>Result.q = <font color="#3A3966"><b>Val</b></font>(String$)</blockquote></blockquote><b>Description</b><br><blockquote>Converts a string into a quad numeric value. The string may be an integer indecimal, hexadecimal (with '$' prefix) or binary (with '%' prefix) format.The number parsing stops at the first non numeric character.</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>String$</i></td><td width="90%">The string to convert.</td></tr></table></blockquote><p><b>Return value</b></p><blockquote>The numeric value of the string.</blockquote><p><b>Remarks</b></p><blockquote>Strings holding a 32-bit floats may be converted with <a href="valf.html">ValF()</a> and 64-bit floats with <a href="vald.html">ValD()</a>.</blockquote><p><b>Example</b></p><blockquote><pre><font face="Courier New, Courier, mono"size="2"> <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">Val</font>("1024102410241024") <font color="#3A3966">; will print '1024102410241024'.</font><b><font color="#3A3966">Debug</font></b> <font color="#3A3966">Val</font>("10ドルFFFFFFFF") <font color="#3A3966">; will print '73014444031'.</font><b><font color="#3A3966">Debug</font></b> <font color="#3A3966">Val</font>("%1000") <font color="#3A3966">; will print '8'.</font></font></pre></blockquote><p><b>See Also</b></p><blockquote><a href="vald.html">ValD()</a>, <a href="valf.html">ValF()</a>, <a href="str.html">Str()</a>, <a href="strf.html">StrF()</a>, <a href="strd.html">StrD()</a></Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=unescapestring.html>UnescapeString()</a> - <a href="index.html">String Index</a> - <a href="vald.html">ValD()</a> -><br><br></body></html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. Open source ecosystem
2. Collaboration, People, Software
3. Evaluation model