View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
AG[_4_] AG[_4_] is offline
external usenet poster
 
Posts: 5
Default writing its own function

Dana DeLouis wrote:
Not sure, but if 'x' were -2, is this what you are trying to do?

yes



Sub Demo()
Dim v
v = Sgn(-2) * [Erf(Abs(-2))]
End Sub


why do you use [.] and not simply (.)

v=Sgn(-2) * Erf(Abs(-2)) ?