|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 11/30/2006 10:58:00 AM
Posts: 1,
Visits: 1
|
|
Hallo,
I'am trying to use the data type DECIMAL8 as input parameter in for an UDF.
In the BTEQ script : CREATE FUNCTION udf_to_char(InputNumber DECIMAL(18,8)) ... is OK
In the C script : void udf_to_char_d1(DECIMAL8 *InputNumber, VARCHAR_LATIN *result, ... is also OK
But has someone a sample of how I can use the following structure in my C scripts in order to recover my number. I don't find documentation about this.
typedef struct { unsigned long int low; long int high; } DECIMAL8, NUMERIC8; /*10 <= n <= 18 */
Regards, Isabelle
|
|
|
|