[Libreoffice-bugs] [Bug 81003] BASIC runtime error. '380' Incorrect property value
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 6 05:57:35 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=81003
--- Comment #10 from himajin100000 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200106/b48f30bc/attachment.htm>
More information about the Libreoffice-bugs
mailing list