I am using ArcGIS Online.

I had created this label using Arcade because I had to customize the wind speed outcome from km/h to mph. I wanted to add "mph" to label after the wind speed value, but am not having any luck with the Text function in Arcade.

Can someone help me with this task?

$feature.WIND_SPEED / 1.6;
New contributor
Jason P is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Try Text($feature.WIND_SPEED / 1.6) + "mph";
    – Hornbydd
    Aug 5 at 18:38
  • That worked, thank you very much! Now I just need to figure out how to add a space between the two. I tried the traditional method "", but nothing. Thanks again!
    – Jason P
    Aug 5 at 18:44
  • 1
    Its as simple as " mph".
    – Hornbydd
    Aug 5 at 22:29


Your Answer

Jason P is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.