Hi all,
Why the results below are different? (On my casio scientific calculator,
the two expressions below are equals to 381.4)
=# select (3+0.2*707/80)*80;
?column?
----------
381.4
=# SELECT 80*(3+(707/80)*0.2);
?column?
----------
368
Answer: "select 707/80;" returns 8, while "select 707/80::float" returns
8.8375.
Abracos,
Edipo Elder
[edipoelder(at)ig(dot)com(dot)br]
_________________________________________________________
Oi! Voc quer um iG-mail gratuito?
Ento clique aqui: http://registro.ig.com.br/