https://bugs.documentfoundation.org/show_bug.cgi?id=81003
--- Comment #10 from himajin100...@gmail.com ---
When I changed the given code as follows,
Public Function getCompound(initValue As Double, initDate, finalDate, intRate
As Double) As String' Calculate and apply compound interest for the period
specified
Dim adjPeriod As Double
adjPeriod = (finalDate - initDate) / DAYS_PER_YEAR
getCompound = TypeName(initDate)
End Function
I mean,
1. Removed the type declaration from initDate and finalDate
2. I changed the returned value to TypeName of initDate
3. Changed the return type to String
The returned value on the cell where this function is used was "Range"
https://opengrok.libreoffice.org/xref/core/sc/source/core/tool/interpr4.cxx?r=6873e0a9#3304
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs