Ref: https://tiddlywiki.com/#format%20Operator
The format
operator is very useful filter operator and I use it alot!
Why not to support numbers?
- For example display numbers with leading zeros
- Or with number of digits after decimal point
- …
Ref: https://tiddlywiki.com/#format%20Operator
The format
operator is very useful filter operator and I use it alot!
Why not to support numbers?
Actually with the fact we can now use parameters in macros within filters and the possibilities of defining our own operators with “Parametrised transclusions” on the horizon this is only getting easier to do.
I see that I had shared a macro to do this on 24 Nov 2020
However a question that arrises is;
[all[current]get[amount]<format-number p:3>]
”[all[current]get[amount]pipe:n<format-number p:3>]
format number with 3 places.What do you think?
GitHub Discussion started #6890