We are using the toLatitudeLongitude method of the coordinateFormatter to get a string representation of a given point object.
https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-coordinateFormatter.html#toLatitudeLongitude
Unfortunately, for the cases where the decimalPlaces are set to 0 it adds a leading zero infront of the minute-value leading to a three-digit-value. Thats obviously wrong since minutes only range til 60, so any leading hundet-zero is simply wrong here.
We were pointed on that by some technical experts which are working with coordinates every day.
I did some research and only can find samples and references without a leading hundred-zero.
Can anyone explain me, why esri is doing that? Is there may a function to correct the string?