Home
last modified time | relevance | path

Searched refs:decimalSymbol (Results 1 – 25 of 48) sorted by relevance

12

/dports/audio/soundkonverter/soundkonverter-3.0.1/src/
H A Dglobal.cpp36 if( KGlobal::locale()->decimalSymbol() != "." ) in prettyNumber()
37 prettyString.replace(".",KGlobal::locale()->decimalSymbol()); in prettyNumber()
46 if( KGlobal::locale()->decimalSymbol() != "." ) in prettyNumber()
47 prettyString.replace(".",KGlobal::locale()->decimalSymbol()); in prettyNumber()
85 if( KGlobal::locale()->decimalSymbol() != "." ) in prettyNumber()
86 prettyString.replace(".",KGlobal::locale()->decimalSymbol()); in prettyNumber()
/dports/finance/kmymoney/kmymoney-5.1.1/kmymoney/plugins/csv/import/core/
H A Dcsvimportercore.h79 …ateFormat, FieldDelimiter fieldDelimiter, TextDelimiter textDelimiter, DecimalSymbol decimalSymbol, in CSVProfile() argument
84 m_textDelimiter(textDelimiter), m_decimalSymbol(decimalSymbol), in CSVProfile()
126 …ateFormat, FieldDelimiter fieldDelimiter, TextDelimiter textDelimiter, DecimalSymbol decimalSymbol, in BankingProfile() argument
131 dateFormat, fieldDelimiter, textDelimiter, decimalSymbol, in BankingProfile()
158 …ateFormat, FieldDelimiter fieldDelimiter, TextDelimiter textDelimiter, DecimalSymbol decimalSymbol, in InvestmentProfile() argument
163 dateFormat, fieldDelimiter, textDelimiter, decimalSymbol, in InvestmentProfile()
212 …ateFormat, FieldDelimiter fieldDelimiter, TextDelimiter textDelimiter, DecimalSymbol decimalSymbol, in PricesProfile() argument
217 dateFormat, fieldDelimiter, textDelimiter, decimalSymbol, in PricesProfile()
H A Dcsvutil.h42 QChar decimalSymbol(const DecimalSymbol _d);
H A Dcsvutil.cpp126 QChar Parse::decimalSymbol(const DecimalSymbol _d) in decimalSymbol() function in Parse
H A Dcsvimportercore.cpp530 QString decimalSymbol; in calculateFee() local
536 decimalSymbol = m_file->m_parse->decimalSymbol(detectedSymbol); in calculateFee()
538 decimalSymbol = m_file->m_parse->decimalSymbol(profile->m_decimalSymbol); in calculateFee()
573 … txt.replace(QLatin1Char('.'), decimalSymbol); //make sure decimal symbol is uniform in whole line in calculateFee()
997 DecimalSymbol decimalSymbol = m_decimalSymbolIndexMap.value(col); in processInvestRow() local
998 m_file->m_parse->setDecimalSymbol(decimalSymbol); in processInvestRow()
/dports/editors/calligra/calligra-3.2.1/sheets/
H A DValueConverter.cpp305 const QString decimalSymbol = m_parser->settings()->locale()->decimalSymbol(); in asString() local
306 if (!decimalSymbol.isNull() && ((pos = s.indexOf('.')) != -1)) in asString()
307 s.replace(pos, 1, decimalSymbol); in asString()
323 const QString decimalSymbol = m_parser->settings()->locale()->decimalSymbol(); in asString() local
325 if (!decimalSymbol.isNull() && ((pos = real.indexOf('.')) != -1)) in asString()
326 real.replace(pos, 1, decimalSymbol); in asString()
328 if (!decimalSymbol.isNull() && ((pos = imag.indexOf('.')) != -1)) in asString()
329 imag.replace(pos, 1, decimalSymbol); in asString()
H A DValueFormatter.cpp217 QString ValueFormatter::removeTrailingZeros(const QString& str, const QString& decimalSymbol) in removeTrailingZeros() argument
219 if (!str.contains(decimalSymbol)) in removeTrailingZeros()
244 if (result.mid(i - decimalSymbol.length(), decimalSymbol.length()) == decimalSymbol) in removeTrailingZeros()
245 result.remove(i - decimalSymbol.length(), decimalSymbol.length()); in removeTrailingZeros()
345 const QString decimalSymbol = m_converter->settings()->locale()->decimalSymbol(); in createNumberFormat() local
348 localizedNumber.replace(pos, 1, decimalSymbol); in createNumberFormat()
383 QString decimalSymbol = m_converter->settings()->locale()->decimalSymbol(); in createNumberFormat() local
384 if (decimalSymbol.isNull()) in createNumberFormat()
385 decimalSymbol = '.'; in createNumberFormat()
387 localizedNumber = removeTrailingZeros(localizedNumber, decimalSymbol); in createNumberFormat()
H A DLocalization.cpp81 element.setAttribute("decimalSymbol", decimalSymbol()); in save()
104 setDecimalSymbol(locale.decimalSymbol()); in defaultSystemConfig()
H A DValueParser.cpp137 if ((pos = str.indexOf(m_settings->locale()->decimalSymbol())) != -1) { in readNumber()
139 minor = str.mid(pos + m_settings->locale()->decimalSymbol().length()); in readNumber()
489 if (strpos < sl && str.indexOf(m_settings->locale()->decimalSymbol()) == (int)strpos) { in readTime()
490 strpos += m_settings->locale()->decimalSymbol().length(); in readTime()
H A DValueFormatter.h155 QString removeTrailingZeros(const QString& string, const QString& decimalSymbol);
/dports/editors/calligra/calligra-3.2.1/filters/sheets/csv/
H A Dcsvimport.cc110 dialog->setDecimalSymbol(ksdoc->map()->calculationSettings()->locale()->decimalSymbol()); in convert()
127 …nst QString documentDecimalSymbol = ksdoc->map()->calculationSettings()->locale()->decimalSymbol(); in convert()
129 ksdoc->map()->calculationSettings()->locale()->setDecimalSymbol(dialog->decimalSymbol()); in convert()
/dports/finance/alkimia/alkimia-8.1.0/src/
H A Dalkvalue.cpp143 AlkValue::AlkValue(const QString &str, const QChar &decimalSymbol) in AlkValue() argument
175 const QString validChars = QString::fromLatin1("\\d\\%1%2").arg(decimalSymbol, negChars); in AlkValue()
195 while (res.count(decimalSymbol) > 1) { in AlkValue()
196 pos = res.indexOf(decimalSymbol); in AlkValue()
201 pos = res.indexOf(decimalSymbol); in AlkValue()
234 res), qPrintable(str), decimalSymbol.toLatin1()); in AlkValue()
H A Dalkvalue.h.in161 * The decimal symbols is identified as provided in @a decimalSymbol.
164 AlkValue(const QString &str, const QChar &decimalSymbol);
/dports/math/cantor/cantor-21.12.3/src/backends/qalculate/
H A Dqalculatehighlighter.cpp44 const QString decimalSymbol = QLocale().decimalPoint(); in highlightBlock() local
65 if ( words[i].trimmed() == decimalSymbol ) { in highlightBlock()
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/runners/calculator/
H A Dcalculatorrunner.cpp77 QChar decimalSymbol = QLocale().decimalPoint(); in powSubstitutions() local
92 … if (((next <= QLatin1Char('9')) && (next >= QLatin1Char('0'))) || next == decimalSymbol) { in powSubstitutions()
123 … if (((next <= QLatin1Char('9')) && (next >= QLatin1Char('0'))) || next == decimalSymbol) { in powSubstitutions()
/dports/editors/calligra/calligra-3.2.1/libs/widgets/
H A DKoCsvImportDialog.h106 QString decimalSymbol() const;
/dports/print/py-reportlab/reportlab-3.5.68/src/reportlab/
H A Drl_settings.py137 decimalSymbol= '.' #what we use to align floats numerically variable
/dports/finance/kmymoney/kmymoney-5.1.1/kmymoney/plugins/csv/import/core/tests/
H A Dsymbol-test.cpp76 m_testDecimal = m_parse->decimalSymbol(DecimalSymbol::Comma); in testDecimalSymbolInvalid()
/dports/editors/calligra/calligra-3.2.1/sheets/commands/
H A DCSVDataCommand.cpp100 m_documentDecimalSymbol = m_sheet->map()->calculationSettings()->locale()->decimalSymbol(); in preProcessing()
/dports/x11/kf5-kdelibs4support/kdelibs4support-5.89.0/src/kdecore/
H A Dklocale.cpp175 QString KLocale::decimalSymbol() const in decimalSymbol() function in KLocale
177 return d->decimalSymbol(); in decimalSymbol()
/dports/editors/calligra/calligra-3.2.1/sheets/dialogs/
H A DCSVDialog.cpp185 command->setDecimalSymbol(decimalSymbol()); in accept()
/dports/editors/calligra/calligra-3.2.1/filters/sheets/opencalc/
H A Dopencalcexport.cc1038 QChar decimalSymbol('.'); in convertFormula() local
1040 const QString decimal(m_locale->decimalSymbol()); in convertFormula()
1042 decimalSymbol = decimal.at(0); in convertFormula()
1103 } else if (formula[i] == decimalSymbol) { in convertFormula()
/dports/x11/kf5-kdelibs4support/kdelibs4support-5.89.0/src/kdeui/
H A Dknumvalidator.cpp217 QString d = l->decimalSymbol(), in validate()
/dports/devel/icu-lx/icu/source/test/intltest/
H A Ddtptngts.cpp469 UnicodeString decimalSymbol = instFromLocale->getDecimal(); in testAPI() local
471 decimalSymbol = instFromLocale->getDecimal(); in testAPI()
474 decimalSymbol = cloneDTPatternGen->getDecimal(); in testAPI()
475 if (decimalSymbol != newDecimalSymbol) { in testAPI()
/dports/devel/icu/icu/source/test/intltest/
H A Ddtptngts.cpp469 UnicodeString decimalSymbol = instFromLocale->getDecimal(); in testAPI() local
471 decimalSymbol = instFromLocale->getDecimal(); in testAPI()
474 decimalSymbol = cloneDTPatternGen->getDecimal(); in testAPI()
475 if (decimalSymbol != newDecimalSymbol) { in testAPI()

12