Home
last modified time | relevance | path

Searched refs:nPrec (Results 1 – 22 of 22) sorted by relevance

/aoo41x/main/basic/source/sbx/
H A Dsbxscan.cxx287 short nDig = nPrec + 1; // Anzahl Digits in Zahl in myftoa()
306 else if( bFix && !nPrec ) in myftoa()
324 if( nPrec ) *pBuf++ = (char)cDecimalSep; in myftoa()
326 if( nDig <= 0 ) i = nPrec; in myftoa()
404 double dMaxNumWithoutExp = (nPrec == 6) ? 1E6 : 1E14; in ImpCvtNum()
410 while( nPrec && *p == '0' ) nPrec--, p--; in ImpCvtNum()
495 short nPrec = 0; // Anzahl Nachkommastellen in printfmtnum() local
542 while( *++pFmt == '#' ) nPrec++; in printfmtnum()
543 nWidth += nPrec + 1; in printfmtnum()
553 if( nPrec > 15 ) nPrec = 15; in printfmtnum()
[all …]
H A Dsbxconv.hxx32 extern void ImpCvtNum( double nNum, short nPrec, ::rtl::OUString& rRes, sal_Bool bCoreString=sal_Fa…
/aoo41x/main/dbaccess/source/ui/tabledesign/
H A DFieldDescriptions.cxx225 sal_Int32 nPrec = DEFAULT_VARCHAR_PRECSION; in FillFromTypeInfo() local
227 nPrec = GetPrecision(); in FillFromTypeInfo()
228 SetPrecision(::std::min<sal_Int32>(nPrec,_pType->nPrecision)); in FillFromTypeInfo()
240 sal_Int32 nPrec = DEFAULT_OTHER_PRECSION; in FillFromTypeInfo() local
246 nPrec = _pType->nPrecision; in FillFromTypeInfo()
250 nPrec = GetPrecision(); in FillFromTypeInfo()
255 … SetPrecision(::std::min<sal_Int32>(nPrec ? nPrec : DEFAULT_NUMERIC_PRECSION,_pType->nPrecision)); in FillFromTypeInfo()
563 sal_Int32 nPrec = m_nPrecision; in GetPrecision() local
576 if ( !nPrec ) in GetPrecision()
577 nPrec = pTypeInfo->nPrecision; in GetPrecision()
[all …]
/aoo41x/main/sal/qa/inc/
H A Dvalueequal.hxx81 long double nPrec = pow(0.1, -nPrecOfN); in is_equal() local
84 t_print(T_VERBOSE, " prec: %.20f\n", nPrec); in is_equal()
91 t_print(T_VERBOSE, " nPrec: %.20f\n", nPrec); in is_equal()
95 if (nDelta > nPrec) in is_equal()
/aoo41x/main/sc/source/ui/docshell/
H A Ddocsh8.cxx339 long nPrec = xMeta->getPrecision( i+1 ); in DBaseImport() local
344 nPrec, nScale ) ); in DBaseImport()
589 sal_uInt16 nPrec; in lcl_GetColumnTypes() local
590 nLen = pDoc->GetMaxNumberStringLen( nPrec, nTab, nCol, in lcl_GetColumnTypes()
595 if ( nPrec > 15 ) in lcl_GetColumnTypes()
596 nPrec = 15; in lcl_GetColumnTypes()
597 if ( bPrecDefined && nPrecision != nPrec ) in lcl_GetColumnTypes()
600 nLen = sal::static_int_cast<xub_StrLen>( nLen + ( nPrecision - nPrec ) ); in lcl_GetColumnTypes()
602 nLen -= nPrec+1; // auch den . mit raus in lcl_GetColumnTypes()
607 nPrecision = nPrec; in lcl_GetColumnTypes()
/aoo41x/main/connectivity/source/drivers/adabas/
H A DBIndexColumns.cxx81 sal_Int32 nPrec = xRow->getInt(7); in createObject() local
82 OAdabasCatalog::correctColumnProperties(nPrec,nType,sTypeName); in createObject()
89 nPrec, in createObject()
H A DBColumns.cxx69 sal_Int32 nPrec = xRow->getInt(7); in createObject() local
70 OAdabasCatalog::correctColumnProperties(nPrec,nType,sTypeName); in createObject()
97 nPrec, in createObject()
/aoo41x/main/connectivity/source/drivers/ado/
H A DAwrapado.cxx1087 sal_Int32 nPrec=0; in get_Precision() local
1088 pInterface->get_Precision(&nPrec); in get_Precision()
1089 return nPrec; in get_Precision()
1101 sal_Int32 nPrec=0; in get_DefinedSize() local
1102 pInterface->get_DefinedSize(&nPrec); in get_DefinedSize()
1103 return nPrec; in get_DefinedSize()
1108 sal_uInt8 nPrec=0; in get_NumericScale() local
1110 return nPrec; in get_NumericScale()
1122 SortOrderEnum nPrec=adSortAscending; in get_SortOrder() local
1123 pInterface->get_SortOrder(&nPrec); in get_SortOrder()
[all …]
/aoo41x/main/sc/source/ui/optdlg/
H A Dtpcalc.cxx179 sal_uInt16 nPrec = pLocalOptions->GetStdPrecision(); in Reset() local
180 if (nPrec == SvNumberFormatter::UNLIMITED_PRECISION) in Reset()
191 aEdPrec.SetValue(nPrec); in Reset()
/aoo41x/main/sal/rtl/source/
H A Dmath.cxx363 int nPrec; in doubleToString() local
366 nPrec = 14; in doubleToString()
373 nPrec = 15 - nExp - 1; in doubleToString()
378 nPrec = 15; in doubleToString()
383 nDecPlaces = nPrec; in doubleToString()
/aoo41x/main/sc/source/ui/unoobj/
H A Ddefltuno.cxx251 sal_uInt16 nPrec = aDocOpt.GetStdPrecision(); in getPropertyValue() local
255 if (nPrec <= ::std::numeric_limits<sal_Int16>::max()) in getPropertyValue()
256 aRet <<= static_cast<sal_Int16> (nPrec); in getPropertyValue()
/aoo41x/main/svl/source/numbers/
H A Dzformat.cxx2011 sal_uInt16 nPrec = nCharCount > 7 ? nCharCount - 7 : 0; in lcl_GetOutputStringScientific() local
2012 if (nPrec && bSign) in lcl_GetOutputStringScientific()
2014 --nPrec; in lcl_GetOutputStringScientific()
2016 nPrec = ::std::min(nPrec, static_cast<sal_uInt16>(14)); // limit to 14 decimals. in lcl_GetOutputStringScientific()
2019 fNumber, rtl_math_StringFormat_E, nPrec, rFormatter.GetNumDecimalSep().GetChar(0)); in lcl_GetOutputStringScientific()
2052 sal_uInt16 nPrec = nCharCount >= nDigitPre ? nCharCount - nDigitPre : 0; in GetOutputString() local
2053 if (nPrec && bSign) in GetOutputString()
2055 --nPrec; in GetOutputString()
2056 if (nPrec) in GetOutputString()
2058 --nPrec; in GetOutputString()
[all …]
H A Dzforscan.hxx53 void ChangeStandardPrec(sal_uInt16 nPrec); // tauscht Standardprecision aus
H A Dzforscan.cxx464 void ImpSvNumberformatScan::ChangeStandardPrec(sal_uInt16 nPrec) in ChangeStandardPrec() argument
466 nStandardPrec = nPrec; in ChangeStandardPrec()
H A Dzforlist.cxx336 void SvNumberFormatter::ChangeStandardPrec(short nPrec) in ChangeStandardPrec() argument
338 pFormatScanner->ChangeStandardPrec(nPrec); in ChangeStandardPrec()
/aoo41x/main/xmloff/source/style/
H A Dxmlnumfi.cxx1882 sal_uInt16 nPrec = 0; in AddNumber() local
1885 nPrec = (sal_uInt16) rInfo.nDecimals; in AddNumber()
1897 nPrec = rLoc.getCurrDigits(); in AddNumber()
1913 sal_uInt16 nGenPrec = nPrec; in AddNumber()
1981 if ( ( rInfo.bDecReplace || rInfo.bVarDecimals ) && nPrec ) // add decimal replacement (dashes) in AddNumber()
1987 for ( sal_uInt16 i=0; i<nPrec; i++) in AddNumber()
/aoo41x/main/tools/inc/tools/
H A Dstream.hxx402 void SetPrecision( sal_uInt8 nPrec ) in SetPrecision() argument
403 { nPrecision = nPrec; CreateFormatString(); } in SetPrecision()
/aoo41x/main/sc/source/core/data/
H A Dcolumn3.cxx2039 sal_uInt16 nPrec = pNumFmt->GetFormatPrecision( nFormat ); in GetMaxNumberStringLen() local
2040 if ( nPrec != SvNumberFormatter::UNLIMITED_PRECISION && nPrec > nPrecision ) in GetMaxNumberStringLen()
2041 nPrecision = nPrec; in GetMaxNumberStringLen()
/aoo41x/main/dbaccess/source/ui/misc/
H A DUITools.cxx561 sal_Int32 nPrec = aIter->second->nPrecision; in getTypeInfoFromType() local
565 && (nPrec >= _nPrecision) in getTypeInfoFromType()
597 sal_Int32 nPrec = aIter->second->nPrecision; in getTypeInfoFromType() local
599 if ( (nPrec >= _nPrecision) in getTypeInfoFromType()
/aoo41x/main/connectivity/source/drivers/dbase/
H A DDTable.cxx1366 sal_Int32 nPrec = SvDbaseConverter::ConvertPrecisionToDbase(nPrecision,nScale); in CreateFile() local
1368 (*m_pFileStream) << (sal_uInt8)( nPrec); in CreateFile()
1370 nRecLength += (sal_uInt16)nPrec; in CreateFile()
/aoo41x/main/svl/inc/svl/
H A Dzforlist.hxx365 void ChangeStandardPrec(short nPrec);
/aoo41x/main/sc/source/core/tool/
H A Dinterpr1.cxx2158 sal_uInt16 nPrec, nLeading; in ScCell() local
2160 pFormatter->GetFormatSpecialInfo( nFormat, bThousand, bIsRed, nPrec, nLeading ); in ScCell()
2196 aFuncResult += String::CreateFromInt32( nPrec ); in ScCell()

Completed in 458 milliseconds