fixes bug #9036
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69359 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
26430125af
commit
3a36961dba
|
@ -1,4 +1,4 @@
|
||||||
CREATE OR REPLACE FUNCTION "FN_ARREDONDAMENTO_TARIFA"(pTarifa IN NUMBER,
|
create or replace FUNCTION "FN_ARREDONDAMENTO_TARIFA"(pTarifa IN NUMBER,
|
||||||
pOrgaoConcedenteId IN NUMBER,
|
pOrgaoConcedenteId IN NUMBER,
|
||||||
pImporteSeguro IN NUMBER,
|
pImporteSeguro IN NUMBER,
|
||||||
pImporteTaxaEmbarque IN NUMBER,
|
pImporteTaxaEmbarque IN NUMBER,
|
||||||
|
@ -153,7 +153,7 @@ CREATE OR REPLACE FUNCTION "FN_ARREDONDAMENTO_TARIFA"(pTarifa IN NU
|
||||||
IF lTresUltimos BETWEEN 755 AND 999
|
IF lTresUltimos BETWEEN 755 AND 999
|
||||||
THEN
|
THEN
|
||||||
lPrecoTotallArredondado :=
|
lPrecoTotallArredondado :=
|
||||||
to_number(lStrParteInteira || '.' || lStrAntePenlultimoNumero || '000', '99999.999') + 0.1;
|
to_number(lStrParteInteira || '.' || lStrAntePenlultimoNumero || '000', '99999.9999') + 0.1;
|
||||||
END IF;
|
END IF;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue