<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Converting string to floating number in DCL in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095029#M105056</link>
    <description>&lt;P&gt;&amp;gt; How can I convert this string to a floating number so I can do&lt;BR /&gt;&amp;gt; Mathematical operations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; DCL provides no floating-point support:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HELP INTEGER&lt;/P&gt;&lt;P&gt;&amp;nbsp;What kinds of "Mathematical operations" on what?&amp;nbsp; As usual, a more&lt;BR /&gt;detailed description of the actual problem which you are trying to solve&lt;BR /&gt;might be helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Possibly interesting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://antinode.info/dec/sw/bc.html" target="_blank"&gt;http://antinode.info/dec/sw/bc.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But those programs don't support "Exx" notation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; One could, in principle, use basic string processing to convert&lt;BR /&gt;"9.8441676E-01" to "0.98441676", and proceed from there.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2020 22:03:30 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2020-07-14T22:03:30Z</dc:date>
    <item>
      <title>Converting string to floating number in DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095026#M105054</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I convert this string to a floating number so I can do Mathematical operations?&amp;nbsp;&lt;/P&gt;&lt;P&gt;"9.8441676E-01"&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 20:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095026#M105054</guid>
      <dc:creator>MT93</dc:creator>
      <dc:date>2020-07-14T20:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Converting string to floating number in DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095027#M105055</link>
      <description>&lt;P&gt;I don't think you'll have much luck with just DCL. You may want to look into also using this utility that looks like it is written with easy operability with DCL symbols in mind:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.eight-cubed.com/downloads.html#math" target="_blank" rel="noopener"&gt;http://www.eight-cubed.com/downloads.html#math&lt;/A&gt;&lt;/P&gt;&lt;P&gt;MATH&lt;/P&gt;&lt;P&gt;A Bison based infix calculator supporting all the one argument double precision C math functions. The calculator allows you to output local or global DCL symbols, and reads string representations of floating point numbers from DCL symbols on the right hand side.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 21:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095027#M105055</guid>
      <dc:creator>David R. Lennon</dc:creator>
      <dc:date>2020-07-14T21:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Converting string to floating number in DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095029#M105056</link>
      <description>&lt;P&gt;&amp;gt; How can I convert this string to a floating number so I can do&lt;BR /&gt;&amp;gt; Mathematical operations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; DCL provides no floating-point support:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HELP INTEGER&lt;/P&gt;&lt;P&gt;&amp;nbsp;What kinds of "Mathematical operations" on what?&amp;nbsp; As usual, a more&lt;BR /&gt;detailed description of the actual problem which you are trying to solve&lt;BR /&gt;might be helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Possibly interesting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://antinode.info/dec/sw/bc.html" target="_blank"&gt;http://antinode.info/dec/sw/bc.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But those programs don't support "Exx" notation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; One could, in principle, use basic string processing to convert&lt;BR /&gt;"9.8441676E-01" to "0.98441676", and proceed from there.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 22:03:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095029#M105056</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2020-07-14T22:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Converting string to floating number in DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095099#M105058</link>
      <description>&lt;P&gt;We have a calculator executable, "calx" on our VMS 6.2 VAX.&lt;/P&gt;&lt;P&gt;Calx Version 5.0d&lt;BR /&gt;Calx is an interactive programmable scientific calculator program useful&lt;BR /&gt;for solving typical problems in computer engineering. Calx features&lt;BR /&gt;independent input and output radices in binary, octal, decimal, hex, or any&lt;BR /&gt;radix of base 2 through 36, as well as ascii characters and convenient "k"&lt;BR /&gt;(1024) notation. It allows nesting of parentheses, performs implied&lt;BR /&gt;multiplication, and features alternate scientific or engineering notation&lt;BR /&gt;outputs. Users may store data in the 10 user-assignable memories or in the&lt;BR /&gt;26 user-definable symbols (whose names may be up to six characters long).&lt;BR /&gt;Many common calculation parameters can be preset and reset through the use&lt;BR /&gt;of an initialization file. For more thorough information about Calx, see&lt;BR /&gt;the Calx Users Guide, CALX$LIBRARY:CALX.DOC, which is both a primer and a&lt;BR /&gt;reference guide to Calx.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 12:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095099#M105058</guid>
      <dc:creator>Craigers01</dc:creator>
      <dc:date>2020-07-15T12:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Converting string to floating number in DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095200#M105060</link>
      <description>&lt;P&gt;Can you give some information from where this calx program can be obtained?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 07:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/converting-string-to-floating-number-in-dcl/m-p/7095200#M105060</guid>
      <dc:creator>joukj</dc:creator>
      <dc:date>2020-07-16T07:12:44Z</dc:date>
    </item>
  </channel>
</rss>

