http://manual.calibre-ebook.com/temp...-function-mode
Quote:
format_number(template) – interprets the value as a number and format that number using a python formatting template such as “{0:5.2f}” or “{0:,d}” or “${0:5,.2f}”. The field_name part of the template must be a 0 (zero) (the “{0:” in the above examples). See the template language and python documentation for more examples. Returns the empty string if formatting fails.
|
I saw a few mentions of that (by format_number(), days_between(), and the boolean operators) and it sounded perfect.
It sounds quite deliberate, how safe do you think it will be?