Stephen_C Posted June 12, 2023 Share Posted June 12, 2023 If feasible, it would be very helpful to have a new Automation Task to trim the output of the Expression Utility to a specified number of decimal places. Even simply a default of two decimal places would be extremely useful. Stephen Link to comment
vitor Posted June 12, 2023 Share Posted June 12, 2023 The Replace Utility can get that done for you now. Replace [regex] (\d+\.\d{2}).* with $1. Change the 2 to the desired number of decimal places. Link to comment
Stephen_C Posted June 12, 2023 Author Share Posted June 12, 2023 (edited) Many thanks Vitor, I'll experiment with that rather than with some horrific AppleScript I've been using. 😀 Stephen Edited June 12, 2023 by Stephen_C Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now