I've been toying with the custom formula engine in the 4.0 Beta, and I couldn't help but notice that in the ExcelFunction class, there is the following code:
```
protected double ArgToDecimal(object obj)
{
return (double) this._argumentParsers.GetParser(DataType.Decimal).Parse(obj);
}
```
I looked for a separate ArgToDouble method, but it doesn't seem to exist. ArgsToDouble does, but not the singular ArgToDouble. I think that there should be 2 separate methods--one for ArgToDecimal (that returns a decimal), and one for ArgToDouble (that could even be this exact method above if there's no specific parser for double).
```
protected double ArgToDecimal(object obj)
{
return (double) this._argumentParsers.GetParser(DataType.Decimal).Parse(obj);
}
```
I looked for a separate ArgToDouble method, but it doesn't seem to exist. ArgsToDouble does, but not the singular ArgToDouble. I think that there should be 2 separate methods--one for ArgToDecimal (that returns a decimal), and one for ArgToDouble (that could even be this exact method above if there's no specific parser for double).