1

I have my service set up so that I am only ever sending doubles in the format XXXX.XX, they correctly map to Document, however when they're persisted to the DB the double displays as "fieldName" : 200.0500000000000100

Is there a way to dictate the precision that mongoDB shows for it's doubles to prevent it creating this extra accuracy?

Thanks

WillBroadbent
  • 804
  • 2
  • 8
  • 22

0 Answers0