I have an expression to calculate distance and convert to miles loaded in a virtual column. It takes the LATLONG of our office and the LATLONG of the address of whatever clinic is selected (done currently using an AwesomeSheet addon ☹️ ) and sticks it in a virtual column. The expression is currently:
CONCATENATE(((DISTANCE([TKE Jackson],LATLONG([Latitude],[Longitude])))*0.621371),"mi")
How do I go about converting this so that it never displays more than two places past the decimal?
I initially thought about using LEFT() but that would yield slightly unpredictable results.
Solved! Go to Solution.
At first glance, seems like TEXT() should be enough:
CONCATENATE(
TEXT(
DISTANCE(
[TKE Jackson],
LATLONG(
[Latitude],
[Longitude]
)
)*0.621371
),
"mi"
)
User | Count |
---|---|
36 | |
9 | |
3 | |
3 | |
2 |