How to write a conditional expression that abbreviates large numbers such as:
1,543,128 = 1.5m
33,764 = 33.7k
In Displaying large numbers - #2 by troy.roberge @testingwebdev2016 does a great job providing steps necessary but I am lost on step 2, “parsing the string to a number” in order to truncate down. It appears a number field cannot be truncated. @testingwebdev2016, would you, or anyone else, have any insight on how to accomplish this?
Thanks so much,