Beet ls -f '$field' - How to format '$field'?

As in subject. If $field is for example a float, how can I make beets print it custom formatted, a la printf? Currently, beets outputs all floats rounded to 1 decimal. I’d like the ability to specify how many decimals to print. Is it possible?


I recommend using the inline plugin, which lets you use any Python expression you like to do the formatting for a field. (You define a new field, like $field_formatted, that looks how you want.)