[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 594: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 650: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
Fórum Xmaker • Erro: Invalid Floating Point Operation !!!
Página 1 de 1

Erro: Invalid Floating Point Operation !!!

Enviado: Abril 3rd, 2012, 6:14 pm
por Dimmy Angelo
Olá Pessoal, segue anexo a ilustração em imagem, desde ja agradeço.

* O Cálculo é no campo PERCENTUAL_SETENTA

Re: Erro: Invalid Floating Point Operation !!!

Enviado: Abril 3rd, 2012, 9:10 pm
por Leão
?? preciso fazer um tratamento, estar dividindo por zero.
if nome_tabela.campo>0 then

Leão

Re: Erro: Invalid Floating Point Operation !!!

Enviado: Abril 4th, 2012, 9:39 am
por Dimmy Angelo
Leão valeu pela dica !

Ficou Assim:

if (TabGlobal.DLIMITES_CONSTITUCION.REC_REPASSE_PREFEITURA.Conteudo > 0) and
(TabGlobal.DLIMITES_CONSTITUCION.DESPESA_PESSOAL.Conteudo > 0) then
begin
Result := CalcC(TabGlobal.DLIMITES_CONSTITUCION.DESPESA_PESSOAL.Conteudo,
TabGlobal.DLIMITES_CONSTITUCION.REC_REPASSE_PREFEITURA.Conteudo ,'/',02);
Result := CalcC(Result, 100,'*',02);
end
else
Result := 0;

Tem como o valor aparecer calculado automaticamente, sem eu precisar ir confirmando os campos?

Obrigado !