Hi Brian, A BigDecimal can take a string as a constructor, and has a toPlainString() method which returns a string.
So, you can either use a 'binary' datatype or a plain old 'string' type. Cheers, --Jools On 7 April 2011 18:25, Brian Fitzpatrick <[email protected]> wrote: > Is there a recommended way to represent a BigDecimal (java) datatype in > thrift? It is for a monetary value, so a double would not be appropriate. > I > could use a string and convert back and forth, but was looking to see how > others had implemented this datatype. > > Thanks, > Brian >
