When you call the function in a worksheet cell, you must include those two arguments.
Atunci când apelați funcția într-o celulă de foaie de lucru, trebuie să includă aceste două argumente.
To call the function now, you'd write this
Pentru a apela funcția acum, ai scrie asta
The object returned can call the function because it was defined in the same environment as the object.
Obiectul intors poate sa apeleze functia pentru ca este definit in acelasi mediu ca si obiectul.
Of course, the difference is that our functions must return a value (of type float, as our function declaration specifies), which we might just as well use directly when we call the function.
Desigur, diferența este aceea că funcțiile trebuie să returneze o valoare (de tip float, așa cum specifică declarația funcției noastre), pe care am putea la fel de bine să o folosim direct atunci când apelăm funcția.
Functions are a way of packaging functionality that you want to reuse, so that whenever you want the functionality you can call the function with the function name rather than constantly rewriting the entire code.
Functions sunt o modalitate de împachetare a funcționalității pe care dorești să o reutilizezi. Când ai nevoie de procedură poți apela o funcție, cu numele funcției, în loc de a rescrie tot codul de fiecare dată.
you can create a literal function and assign it to a variable and then call the function through that variable (this is possible in PHP too)
Puteţi crea o funcţie literal şi o puteţi atribui unei variabile şi apoi puteţi apela funcţia prin intermediul variabilei respective (acest lucru este posibil şi în PHP)
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.