Pro*C and High precision NUMBER datatype?

From: Raymond Li <supercat_at_planet.net.hk>
Date: 1998/08/31
Message-ID: <35E978F3.1584B0E2_at_planet.net.hk>#1/1


Hello,

[Quoted]     It seems that Pro*C only support double datatype, which guarantee only about 15 decimal digits of precision, but not long double. However, we need to store (and calculate) monetary figures with precision up to 18 or 20 decimal digits. What possible solutions are there to process precision higher than 15 decimal digits?

    The obvious solution we can devise is to use long double in C, while convert to varchar when interfaced with the Database.

    Can someone share there experience and opinion for processing Oracle NUMBER datatype with high precision ( more than 15 or 16 decimal digits ).

    Thanks in advance for your advices. Please cc your reply to my mailbox as well!

    Regards,
    Raymond Li Received on Mon Aug 31 1998 - 00:00:00 CEST

Original text of this message