Hi Guys,
Is there a way not to round off a decimal number when converting to double in binder?
binder.forField(num)
.withConverter(new StringToDoubleConverter(“”))
.bind(Model::getDoubleNum, Model::setDoubleNum);
I tried StringToBigDecimal yet it still round off to 3 deciminal digits. I just want to stay the decimal digit as it is since Im dealing with Latitude and Longitude.
Thanks