Home
last modified time | relevance | path

Searched refs:fDec (Results 1 – 2 of 2) sorted by relevance

/trunk/main/sc/source/core/tool/
H A Dinterpr2.cxx506 double fDec = GetDouble(); in ScCeil() local
508 if ( fDec == 0.0 ) in ScCeil()
510 else if (fVal*fDec < 0.0) in ScCeil()
515 PushDouble(::rtl::math::approxFloor(fVal/fDec) * fDec); in ScCeil()
517 PushDouble(::rtl::math::approxCeil(fVal/fDec) * fDec); in ScCeil()
529 double fDec = GetDouble(); in ScFloor() local
531 if ( fDec == 0.0 ) in ScFloor()
533 else if (fVal*fDec < 0.0) in ScFloor()
538 PushDouble(::rtl::math::approxCeil(fVal/fDec) * fDec); in ScFloor()
540 PushDouble(::rtl::math::approxFloor(fVal/fDec) * fDec); in ScFloor()
H A Dinterpr1.cxx7575 double fDec; in ScCurrency() local
7579 if (fDec < -15.0 || fDec > 15.0) in ScCurrency()
7586 fDec = 2.0; in ScCurrency()
7589 if ( fDec != 0.0 ) in ScCurrency()
7598 if ( fDec < 0.0 ) in ScCurrency()
7599 fDec = 0.0; in ScCurrency()
7666 double fDec; in ScFixed() local
7675 if (fDec < -15.0 || fDec > 15.0) in ScFixed()
7682 fDec = 2.0; in ScFixed()
7695 if (fDec < 0.0) in ScFixed()
[all …]

Completed in 87 milliseconds