Page 1 of 1

Issue with Rounding Number Token in Renaming Action (Hazel

PostPosted: Sat Apr 05, 2025 11:33 am
by davidelloyd
Hello, I'm encountering an issue with rounding a number in the renaming action using Hazel 6.0.4. Here's what I've tried so far:
Selecting 0 from the dropdown, which should round the number to a whole number, doesn't seem to work.

I used Edit Number Format and entered the custom format specifier %.0f, which I expected would round the number to zero decimal places, but it has no effect. As a workaround, I attempted using the Adjust Number… option (e.g., adding 0.5) to force rounding before formatting, but that also hasn't produced the expected results. Could you please advise if there's a bug in the current version or if I'm missing a configuration step? Any guidance or updated documentation on how to correctly round numbers in the renaming action in Hazel 6.0.4 would be greatly appreciated.

Thank you!

Re: Issue with Rounding Number Token in Renaming Action (Haz

PostPosted: Mon Apr 07, 2025 9:34 am
by Mr_Noodle
You can't enter format strings like %.0f. As of now, there is no way to format decimal places. If anything, numbers will be truncated (floor) instead of rounded.