<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Форум QUIK [тема: функция tonumber]</title>
		<link>http://forum.quik.ru</link>
		<description>Новое в теме функция tonumber форума  на сайте Форум QUIK [forum.quik.ru]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Sat, 04 Apr 2026 16:11:00 +0300</pubDate>
		<item>
			<title>функция tonumber</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message12871/topic1415/">функция tonumber</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			правильно так:<br />&#91;&quot;PRICE&quot;&#93;=tostring(priceB), <br />
			<i>18.02.2016 14:14:17, Николай  Камынин.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message12871/topic1415/</link>
			<guid>http://forum.quik.ru/messages/forum10/message12871/topic1415/</guid>
			<pubDate>Thu, 18 Feb 2016 14:14:17 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>функция tonumber</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message12851/topic1415/">функция tonumber</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			В транзакцию надо передавать значения в текстовом формате. Если вы передаёте число, то QUIK сам его форматирует в строку по стандартному шаблону, не учитывая точность инструмента. <br />
			<i>17.02.2016 21:27:11, Старатель.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message12851/topic1415/</link>
			<guid>http://forum.quik.ru/messages/forum10/message12851/topic1415/</guid>
			<pubDate>Wed, 17 Feb 2016 21:27:11 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>функция tonumber</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message12850/topic1415/">функция tonumber</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			Почему вы так решили?<br /><br />tonumber (e &#91;, base&#93;)Tries to convert its argument to a number. If the argument is already a number or a string convertible to a number, then tonumber returns this number; otherwise, it returns nil.An optional argument specifies the base to interpret the numeral. The base may be any integer between 2 and 36, inclusive. In bases above 10, the letter 'A' (in either upper or lower case) represents 10, 'B' represents 11, and so forth, with 'Z' representing 35. In base 10 (the default), the number can have a decimal part, as well as an optional exponent part (see <noindex><a href="http://www.lua.org/manual/5.1/manual.html#2.1" target="_blank" rel="nofollow">§2.1</a></noindex>). In other bases, only unsigned integers are accepted.<br /><noindex><a href="http://www.lua.org/manual/5.1/manual.html" target="_blank" rel="nofollow">http://www.lua.org/manual/5.1/manual.html</a></noindex> <br />
			<i>17.02.2016 21:19:36, Владимир.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message12850/topic1415/</link>
			<guid>http://forum.quik.ru/messages/forum10/message12850/topic1415/</guid>
			<pubDate>Wed, 17 Feb 2016 21:19:36 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>функция tonumber</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message12845/topic1415/">функция tonumber</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			Функция tonumber должна обрезать нули,почему же она этого не делает ?<br /> &nbsp; priceB=tonumber (getParamEx(&quot;SPBFUT&quot;, &quot;SRH6&quot;, 'offer').param_value)<br /> <br />t = {<br /><br />&#91;&quot;CLASSCODE&quot;&#93;=&quot;SPBFUT&quot;,<br /><br />&#91;&quot;SECCODE&quot;&#93;=&quot;SRH6 &quot;,<br /><br />&#91;&quot;ACTION&quot;&#93;=&quot;NEW_ORDER&quot;,<br /><br />&#91;&quot;ACCOUNT&quot;&#93;=&quot; &nbsp; &quot;,<br /><br />&#91;&quot;CLIENT_CODE&quot;&#93;=&quot; 99883 &quot;,<br /><br />&#91;&quot;TYPE&quot;&#93;=&quot;L&quot;,<br /><br />&#91;&quot;OPERATION&quot;&#93;=&quot;S&quot;,<br /><br />&#91;&quot;QUANTITY&quot;&#93;=&quot;1&quot;,<br /><br />&#91;&quot;PRICE&quot;&#93;=tonumber(priceB),<br /><br />&#91;&quot;TRANS_ID&quot;&#93;=&quot;1&quot;<br /><br />}<br /><br />res=sendTransaction(t)<br /><br />message(res,1) <br />
			<i>17.02.2016 21:00:57, Андрей Мурга.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message12845/topic1415/</link>
			<guid>http://forum.quik.ru/messages/forum10/message12845/topic1415/</guid>
			<pubDate>Wed, 17 Feb 2016 21:00:57 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
	</channel>
</rss>
