How to create UDF in Excel using C# and Visual Studio 2008

Hi.
I found a bug in blsdeltaPut function.
"return Math.Exp(-Yield * Time)* CND(d1)-1;"
this should be
"return Math.Exp(-Yield * Time)* (CND(d1)-1);"
or
"return -Math.Exp(-Yield * Time)* CND(-d1);".
 
Hi.
I found a bug in blsdeltaPut function.
"return Math.Exp(-Yield * Time)* CND(d1)-1;"
this should be
"return Math.Exp(-Yield * Time)* (CND(d1)-1);"
or
"return -Math.Exp(-Yield * Time)* CND(-d1);".
From which library?
 
Back
Top