Subject | Re: [IBO] re: is 0.208 some magic value ? |
---|---|
Author | Jason Wharton |
Post date | 2002-04-06T06:08:48Z |
Look at these functions in IB_Utils.pas:
function ScaleExtended( const AVal: extended; AScale: smallint ): extended;
function IntegerToCurrency( const AVal: integer; AScale: smallint ):
currency;
function Int64ToCurrency( AVal: ISC_INT64; AScale: smallint ): currency;
function ExtendedToInt64( AVal: extended; AScale: smallint ): ISC_INT64;
function ExtendedToInteger( AVal: extended; AScale: smallint ): integer;
function ExtendedToSmallint( AVal: extended; AScale: smallint ): smallint;
function CurrencyToInteger( AVal: currency; AScale: smallint ): integer;
function CurrencyToSmallint( AVal: currency; AScale: smallint ): smallint;
function CurrencyToInt64( AVal: currency; AScale: smallint ): ISC_INT64;
These are what is called from IBODataset.pas that is the TDataset based
classes you are working with.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
function ScaleExtended( const AVal: extended; AScale: smallint ): extended;
function IntegerToCurrency( const AVal: integer; AScale: smallint ):
currency;
function Int64ToCurrency( AVal: ISC_INT64; AScale: smallint ): currency;
function ExtendedToInt64( AVal: extended; AScale: smallint ): ISC_INT64;
function ExtendedToInteger( AVal: extended; AScale: smallint ): integer;
function ExtendedToSmallint( AVal: extended; AScale: smallint ): smallint;
function CurrencyToInteger( AVal: currency; AScale: smallint ): integer;
function CurrencyToSmallint( AVal: currency; AScale: smallint ): smallint;
function CurrencyToInt64( AVal: currency; AScale: smallint ): ISC_INT64;
These are what is called from IBODataset.pas that is the TDataset based
classes you are working with.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Duilio Foschi" <dedalus@...>
To: <ibobjects@yahoogroups.com>
Sent: Friday, April 05, 2002 4:00 PM
Subject: [IBO] re: is 0.208 some magic value ?
> --- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> > Please debug the IBO code for me please if you can and I will add this
to my
> > list of things to look into.
>
> Jason,
>
> I built a database from Database Explorer and replaced the TIBOQuery with
a
> TQuery.
>
> This done, ev works ok.
>
> So I could see that the problem is indeed with IBO3.
>
> Would you like me to do something else ?
>
> I am terrified at the idea to trace your code.
>
> If you want me to do that, at least give me some clue re where to look.
>
> Thank you
>
> Duilio