https://bugs.freedesktop.org/show_bug.cgi?id=61400

          Priority: medium
            Bug ID: 61400
          Assignee: [email protected]
           Summary: Error de pecedencia en la formula
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: UNCONFIRMED
           Version: 3.6.1.2 release
         Component: Spreadsheet
           Product: LibreOffice

Created attachment 75449
  --> https://bugs.freedesktop.org/attachment.cgi?id=75449&action=edit
contiene el ejemplo descrito arriba

La precedencia de los operadores está mal.
Los signos de sumar (+) y restar (-) separan términos y en el ejemplo adjunto
no se que cuenta hace para que el resultado sea 26:

Observen que si agrego paréntesis, el resultado da 24, pero estos no debería
tener que agregarlos.

      A  |      B       |      C                                             
 1
 2   255    7,9943534369    '=LOG(A2;2)    
 3                       7    '=ENTERO(B2)    
 4                       8    '=B3+1    
 5                      24    '=32-B4        24 IS OK
 6            
 7            
 8   255               8    '=ENTERO(LOG(A8;2))+1    
 9   255              26    '=32-ENTERO(LOG(A9;2))+1    26 IS WRONG
10   255              24    '=32-(ENTERO(LOG(A10;2))+1)    

Muchas gracias.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to