Hi,
Anybody knows what is the difference between both codes and why the second one results in an error?
Public Sub Cardano1()
x = WorksheetFunction.Power(((-1 - Sqr(1)) / 2), 1 / 3)
End Sub
Public Sub Cardano2()
x = ((-1 - Sqr(1)) / 2) ^ (1 / 3)
End Sub
Thanks in advance,
Luiz