<html><head><title>StrU</title></head><body bgcolor="#FFFFFF" link="#207BC3" vlink="#003B83" alink="#003B83"><font face="Arial" size="2"><p align="center"><b><font size="4">StrU()</font></b></p><p><b>Syntax</b></p><blockquote>Result$ = <font color="#207BC3"><b>StrU</b></font>(Value.q, Type)</blockquote></blockquote><b>Description</b><br><blockquote>Converts an unsigned numeric number into a string.</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>Value.q</i></td><td width="90%">The value to convert.</td></tr><tr><td><i>Type</i></td><td>It can be one of the following value:<pre><font face="Courier New, Courier, mono"size="2"> <font color="#924B72">#PB_Byte</font> : The value is handled as a byte number, ranging from 0 to 255<font color="#924B72">#PB_Ascii</font> : The value is handled as a ascii character, ranging from 0 to 255<font color="#924B72">#PB_Word</font> : The value is handled as a word number, ranging from 0 to 65535<font color="#924B72">#PB_Unicode</font>: The value is handled as a unicode character, ranging from 0 to 65535<font color="#924B72">#PB_Long</font> : The value is handled as a long number, ranging from 0 to 4294967296<font color="#924B72">#PB_Quad</font> : The value is handled as a quad number, ranging from 0 to 18446744073709551615</font></pre></td></tr></table></blockquote><p><b>Return value</b></p><blockquote>A string holding the converted value.</blockquote><p><b>Remarks</b></p><blockquote>Signed integer numbers must be converted with <a href="str.html">Str()</a> and float numbers with <a href="strf.html">StrF()</a> or <a href="strd.html">StrD()</a>.</blockquote><p><b>Example</b></p><blockquote><pre><font face="Courier New, Courier, mono"size="2"> byte.b = 255<b><font color="#207BC3">Debug</font></b> <font color="#207BC3">Str</font>(byte) <font color="#207BC3">; Will display -1</font><b><font color="#207BC3">Debug</font></b> <font color="#207BC3">StrU</font>(byte, <font color="#924B72">#PB_Byte</font>) <font color="#207BC3">; Will display 255</font></font></pre></blockquote><p><b>See Also</b></p><blockquote><a href="str.html">Str()</a>,<a href="strd.html">StrD()</a>,<a href="strf.html">StrF()</a>,<a href="val.html">Val()</a>,<a href="vald.html">ValD()</a>,<a href="valf.html">ValF()</a>, <a href="hex.html">Hex()</a>, <a href="bin.html">Bin()</a></Blockquote><center><- <a href=strf.html>StrF()</a> - <a href="index.html">String Index</a> - <a href="stringfield.html">StringField()</a> -><br><br></body></html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。