Does anyone know why using this construct in an infowindow won't allow me to display anything less than three decimal places?
Here is the complete construct:
var resTemplate = new InfoTemplate();
resTemplate.setTitle("Customer Residence");
resTemplate.setContent(
"<b>Distance to Store: </b>${MI_TO_STORE:NumberFormat(round:2)} miles");
I have tried using both 2 and 1 and even changing the format of my data layer before publishing it to 2 decimal places, but the infowindow insists that it give me three decimal places.
Thanks in advance for any suggestions or insights.