60inline bool AllFinite(
const std::vector<double>& values)
62 for (
double value : values)
63 if (!std::isfinite(value))
bool AllFinite(const std::vector< double > &values)
Whether every value is finite. Data imported through the functions above always is.
bool parseNumericJson(const QJsonValue &value, double &out, QString &error)
Parses a project-file value as a finite number.
bool parseNumericValue(const QVariant &value, double &out, QString &error)
Parses a spreadsheet cell value as a finite number.
bool parseNumericCell(const QString &text, double &out, QString &error)
Parses text as a finite number.