Follow

How to round numeric values

 

Sometimes we need to round values coming from web services or internal Data Sources.  This gives a result like this one when you click on a feature:

 

image__1_.png

You can avoid that by adding format in your Form attributes configuration

 

{
 “name”: “speed_kmh”,
 “label”: “Vitesse (km/h)“,
 “type”: “number”,
 “format”: “0.”
}
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk