diff --git a/poincare/src/float.cpp b/poincare/src/float.cpp index 39a978104..ddd5f093e 100644 --- a/poincare/src/float.cpp +++ b/poincare/src/float.cpp @@ -81,7 +81,7 @@ bool Float::valueEquals(const Expression * e) const { } int Float::writeTextInBuffer(char * buffer, int bufferSize) { - return convertFloatToText(buffer, bufferSize, m_numberOfSignificantDigits); + return convertFloatToText(buffer, bufferSize, m_numberOfSignificantDigits, DisplayMode::Auto); } int Float::convertFloatToText(char * buffer, int bufferSize,