<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Calc wrongly tries to correct incorrectly written function"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=129998">129998</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Calc wrongly tries to correct incorrectly written function
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.2.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wingsuit@hot.ee
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
if mistakenly , is used in ROUND function declaration, extra 0 is introduced
into the function declaration.
It is probably because in my locale settings (Estonian) "," is decimal
separator, so it thinks I am trying to write 0,2 but I feel this adding a
leading 0 to erroneous function declaration might not be correct.


Steps to Reproduce:
1. Open CALC (blank document)
2. write into A1: 476 
3. write into A2: 48
4. write into A3: =A1/A2 
5. write into A4: =round(a3 
6. press ENTER - A4 will get value 10
7. navigate back to A4, press F2 to edit and add ,2 in the function, so cell
becomes =round(A3,2) (a mistake, obviously, should be =round(A3;2) )
8. press Enter
Cell A4 displays Err:509
9. now go back to A4 and press F2 - value is =ROUND(A30,2) - so A3 has changed
to A30.

Actual Results:
A3 has changed to A30.

Expected Results:
A3 would stay as A3


Reproducible: Always


User Profile Reset: No



Additional Info:</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>