Kaydet (Commit) 7283125c authored tarafından Mike Kaganski's avatar Mike Kaganski

tdf#118218: Make FormatNumber VBA-only

0f7a7c8e follow-up

Change-Id: I79ed02770a4321401f250b85b04ef66d476a67df
Reviewed-on: https://gerrit.libreoffice.org/56742Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
Tested-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst cdaa5d8e
...@@ -278,7 +278,7 @@ static Methods aMethods[] = { ...@@ -278,7 +278,7 @@ static Methods aMethods[] = {
{ "FormatDateTime", SbxSTRING, 2 | FUNCTION_ | COMPATONLY_, RTLNAME(FormatDateTime),0 }, { "FormatDateTime", SbxSTRING, 2 | FUNCTION_ | COMPATONLY_, RTLNAME(FormatDateTime),0 },
{ "Date", SbxDATE, 0,nullptr,0 }, { "Date", SbxDATE, 0,nullptr,0 },
{ "NamedFormat", SbxINTEGER, OPT_, nullptr,0 }, { "NamedFormat", SbxINTEGER, OPT_, nullptr,0 },
{ "FormatNumber", SbxSTRING, 5 | FUNCTION_, RTLNAME(FormatNumber), 0 }, { "FormatNumber", SbxSTRING, 5 | FUNCTION_ | COMPATONLY_, RTLNAME(FormatNumber), 0 },
{ "expression", SbxDOUBLE, 0, nullptr, 0 }, { "expression", SbxDOUBLE, 0, nullptr, 0 },
{ "numDigitsAfterDecimal", SbxINTEGER, OPT_, nullptr, 0 }, { "numDigitsAfterDecimal", SbxINTEGER, OPT_, nullptr, 0 },
{ "includeLeadingDigit", SbxINTEGER, OPT_, nullptr, 0 }, // vbTriState { "includeLeadingDigit", SbxINTEGER, OPT_, nullptr, 0 }, // vbTriState
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment