Update help page after https://codereview.scilab.org/#/c/10467/ 46/10646/2
Vincent COUVERT [Thu, 28 Feb 2013 21:43:46 +0000 (22:43 +0100)]
Change-Id: Ief2358999581b765e805a0be1c6ff6b3f79505fe

scilab/modules/string/help/en_US/strtod.xml

index f4edcb1..d55a4bb 100644 (file)
@@ -58,7 +58,7 @@
         <para>
             <code>[d, endstr] = strtod(str)</code> parses strings
             <varname>str</varname> interpreting its content as a floating point
-            number and returns its value as a real.
+            number and returns its value as a real. If <varname>str</varname> does not contain any numerical value then <varname>d</varname> equals <literal>Nan</literal>.
         </para>
     </refsection>
     <refsection>
@@ -70,4 +70,13 @@ strtod(['123.556This is a sample real','888.666 here'])
 [d,endstr] =strtod(['123.556This is a sample real','888.666 here'])
  ]]></programlisting>
     </refsection>
+    <refsection>
+        <title>History</title>
+        <revhistory>
+            <revision>
+                <revnumber>5.4.1</revnumber>
+                <revremark>If <varname>str</varname> does not contain any numerical value then <varname>d</varname> equals <literal>Nan</literal> instead of <literal>0</literal> in previous versions.</revremark>
+            </revision>
+        </revhistory>
+    </refsection>
 </refentry>