Hi
is there any way to format the decimal places of number of outStatisticField in following query?
result
SUM_MEAN_MEAN_Delay: 1527.09699999989FIRST_Street: Hwy 7
SUM_MEAN_MEAN_Delay: 768.143999999995FIRST_Street: Hwy 401 E
SUM_MEAN_MEAN_Delay: 579.484999999999FIRST_Street: Hwy 401 Collector W
SUM_MEAN_MEAN_Delay: 562.704999999997FIRST_Street: Hwy 401 Express E
if I want to format the return value as #,###.00
how to do it? so far, there is no explanation found from REST API help
Thanks alot
https://services.arcgis.com/6iGx1Dq91oKtcE7x/ArcGIS/rest/services/congestion_summary/FeatureServer/1/query?where=&objectIds=&time=&resultType=standard&outFields=*&returnIdsOnly=false&returnUniqueIdsOnly=false&returnCountOnly=false&returnDistinctValues=false&cacheHint=false&orderByFields=SUM_MEAN_MEAN_Delay+DESC&groupByFieldsForStatistics=FIRST_Street&outStatistics=%5B%0D%0A++++++++++%7B%0D%0A++++++++++++%22statisticType%22%3A+%22sum%22%2C%0D%0A++++++++++++%22onStatisticField%22%3A+%22MAX_MAX_Delay%22%2C%0D%0A++++++++++++%22outStatisticFieldName%22%3A+%22SUM_MEAN_MEAN_Delay%22%0D%0A++++++++++%7D%0D%0A++++++++%5D&having=&resultOffset=&resultRecordCount=10&sqlFormat=none&f=html&token=
this issue was solved see here https://github.com/Esri/cedar/issues/477
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.