20#ifdef SC_DLLIMPLEMENTATION
21#undef SC_DLLIMPLEMENTATION
25#include <rtl/math.hxx>
39 : m_xEntry(
std::move(xEntry))
46 bool bOk = !
aStr.isEmpty();
49 rtl_math_ConversionStatus eStatus;
52 bOk = (eStatus == rtl_math_ConversionStatus_Ok) && (nEnd ==
aStr.getLength() );
59 m_xEntry->set_text( ::rtl::math::doubleToUString( fValue, rtl_math_StringFormat_G,
60 nDecPlaces, lclGetDecSep(),
true ) );
double stringToDouble(std::u16string_view aString, bool bUseGroupSep, rtl_math_ConversionStatus *pStatus, sal_Int32 *pParseEnd) const
const OUString & getNumDecimalSep() const
void SetValue(double fValue, sal_Int32 nDecPlaces=12)
ScDoubleField(std::unique_ptr< weld::Entry > xEntry)
std::unique_ptr< weld::Entry > m_xEntry
bool GetValue(double &rfValue) const
static SC_DLLPUBLIC const LocaleDataWrapper & getLocaleData()
OString strip(const OString &rIn, char c)