Re: I need to code a float with magnitude (ie unit of measure) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: I need to code a float with magnitude (ie unit of measure)
Date
Msg-id 25542.1258153706@sss.pgh.pa.us
Whole thread Raw
In response to I need to code a float with magnitude (ie unit of measure)  (Emilio Platzer <emilio.platzer@ipark.tv>)
List pgsql-hackers
1Emilio Platzer <emilio.platzer@ipark.tv> writes:
> I need to a "double precision" with magniude (ie meters, kilo, dolar, 
> etc). And can operate with them (ie dolar+dolar=dolar or 
> dolar/dolar=double precision).

> Do you know some pluggin or module to do this?

Yeah, there's a "tagged types" module on pgfoundry or someplace.
Check the list archives.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: [patch] executor and slru dtrace probes
Next
From: Tom Lane
Date:
Subject: Re: [Patch] Fix enum type mismatch