I want to keep 2 decimals for a variable in eSearch widget. Can I use numberformat to control decimals? The following code only keep integer. Thanks!
<field name="minor" alias="Percent Minority" numberformat="0|,|." gridfield="true"/>
Lei,
That is because you have the number of decimals set to 0 change it to 2.
<field name="minor" alias="Percent Minority" numberformat="2|,|." gridfield="true"/>
Thanks a lot!
This was something that was fixed after version 2.4 then. More reason to update to the latest version.
It is esriFieldTypeDouble; if I remove numberformat, the data goes back to original .**** four decimals
Thanks!
What is the data type of the field? When I set the numberformat on any numeric field it works fine for me.
<field name="PPIN" gridfield="true" alias="Parcel Identifcation Number" numberformat="6|,|."/>
I tried this, but it seems nothing changed. I also change it to 4|,|. or 100|,|. Thanks!
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.