There's no native support for MonetaryAmount. However, you can define a message to represent the type with the precision and write a custom tool to convert the message to and from the native Java type.
On Sun, Dec 4, 2016 at 4:29 PM Luis Trigueiros <[email protected]> wrote: > Hi, > > I am new to protobuf and I am trying to get the understanding of how I can > represent monetary amounts the equivalent of the java 8 MonetaryAmount ? > Can anyone help me ? > > Many thanks, > Oscar > > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
