Hello, I have the following function:
Function Fun(z)
Fun = z - x - (((((z - Dato1) * Dato1P) + Dato3) - (((((z - Dato1) * Dato1P) * Dato2) + Dato4) * R)) - Dato5)
End Function
There are several varibles within it, the thing is that it just does not work, for example:
Fun(20) returns 20
What can I do?
Function Fun(z)
Fun = z - x - (((((z - Dato1) * Dato1P) + Dato3) - (((((z - Dato1) * Dato1P) * Dato2) + Dato4) * R)) - Dato5)
End Function
There are several varibles within it, the thing is that it just does not work, for example:
Fun(20) returns 20
What can I do?