Hello Team,
I am facing an issue in my Java Application.
-
While I am saving a normal string to mongo which has a decimal , I am able to persist to DB
Ex: {“price”:“20.00”} -
But When I am trying to save list of decimals as a string which has precision ‘00’ (5.00) as list of strings, only one zero in precision can be able persist as below.
Ex:
{“values”:[
“6.0”,
“5.0”
]
}
Our DB Server version is 3.6.+
Trying with spring-data-mongodb version 1.8.+
Please help me out in this what could be the issue.
Thanks,
Ajay Prasad.