/aoo41x/main/basic/source/sbx/ |
H A D | sbxscan.cxx | 287 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 D | sbxconv.hxx | 32 extern void ImpCvtNum( double nNum, short nPrec, ::rtl::OUString& rRes, sal_Bool bCoreString=sal_Fa…
|
/aoo41x/main/dbaccess/source/ui/tabledesign/ |
H A D | FieldDescriptions.cxx | 225 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 D | valueequal.hxx | 81 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 D | docsh8.cxx | 339 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 D | BIndexColumns.cxx | 81 sal_Int32 nPrec = xRow->getInt(7); in createObject() local 82 OAdabasCatalog::correctColumnProperties(nPrec,nType,sTypeName); in createObject() 89 nPrec, in createObject()
|
H A D | BColumns.cxx | 69 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 D | Awrapado.cxx | 1087 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 D | tpcalc.cxx | 179 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 D | math.cxx | 363 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 D | defltuno.cxx | 251 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 D | zformat.cxx | 2011 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 D | zforscan.hxx | 53 void ChangeStandardPrec(sal_uInt16 nPrec); // tauscht Standardprecision aus
|
H A D | zforscan.cxx | 464 void ImpSvNumberformatScan::ChangeStandardPrec(sal_uInt16 nPrec) in ChangeStandardPrec() argument 466 nStandardPrec = nPrec; in ChangeStandardPrec()
|
H A D | zforlist.cxx | 336 void SvNumberFormatter::ChangeStandardPrec(short nPrec) in ChangeStandardPrec() argument 338 pFormatScanner->ChangeStandardPrec(nPrec); in ChangeStandardPrec()
|
/aoo41x/main/xmloff/source/style/ |
H A D | xmlnumfi.cxx | 1882 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 D | stream.hxx | 402 void SetPrecision( sal_uInt8 nPrec ) in SetPrecision() argument 403 { nPrecision = nPrec; CreateFormatString(); } in SetPrecision()
|
/aoo41x/main/sc/source/core/data/ |
H A D | column3.cxx | 2039 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 D | UITools.cxx | 561 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 D | DTable.cxx | 1366 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 D | zforlist.hxx | 365 void ChangeStandardPrec(short nPrec);
|
/aoo41x/main/sc/source/core/tool/ |
H A D | interpr1.cxx | 2158 sal_uInt16 nPrec, nLeading; in ScCell() local 2160 pFormatter->GetFormatSpecialInfo( nFormat, bThousand, bIsRed, nPrec, nLeading ); in ScCell() 2196 aFuncResult += String::CreateFromInt32( nPrec ); in ScCell()
|