diff options
-rw-r--r-- | basic/source/runtime/stdobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/stdobj.cxx b/basic/source/runtime/stdobj.cxx index ff10ad4f2695..a2f3be73b308 100644 --- a/basic/source/runtime/stdobj.cxx +++ b/basic/source/runtime/stdobj.cxx @@ -278,7 +278,7 @@ static Methods aMethods[] = { { "FormatDateTime", SbxSTRING, 2 | FUNCTION_ | COMPATONLY_, RTLNAME(FormatDateTime),0 }, { "Date", SbxDATE, 0,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 }, { "numDigitsAfterDecimal", SbxINTEGER, OPT_, nullptr, 0 }, { "includeLeadingDigit", SbxINTEGER, OPT_, nullptr, 0 }, // vbTriState |