Matt Robertson wrote:
> Jochem wrote:
>>
>> After doing a simple division by 2.20371, your balance doesn't quite
>> balance anymore.
>
> You mean do the division in the sql? Thats something I would never
> do, personally.
Where else can you do it and have control over precision and
rounding? In CF we have no control over the datatype, which means
there is no way we can control precision if there is an int to
float conversion in an unexpected place.
In databases we have exact numeric types of arbitrary scale and
precision that have a behaviour that is exactly specified by the
SQL standard. Except in MySQL.
Jochem
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- RE: Access alternatives (WAS: Sec... James Smith
- RE: Access alternatives (WAS: Security gurus o... Dave Watts
- Re: Access alternatives (WAS: Security gu... Peter Farrell
- Re: Access alternatives (WAS: Securit... Matt Robertson
- Re: Access alternatives (WAS: Sec... Massimo, Tiziana e Federica
- Re: Access alternatives (WAS: Sec... Jochem van Dieten
- Re: Access alternatives (WAS:... Matt Robertson
- Re: Access alternatives ... Paul Hastings
- Re: Access alternati... Matt Robertson
- Re: Access alternati... Paul Hastings
- RE: Access alternatives ... Jochem van Dieten
- RE: Access alternati... Mark A Kruger
- Re: Access alternatives (WAS: Securit... Claude Schneegans
- RE: Access alternatives (WAS: Security gurus o... Dave Watts
- RE: Access alternatives (WAS: Security gurus o... Micha Schopman
- RE: Access alternatives (WAS: Security gurus o... Micha Schopman