You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current mz implementation allows creating a formatter function bound to a number like this:
constformatter=mz(5)formatter`number is {singular|plural}`formatter`value of number is $value`
This is useful when you have one number that you need to use for multiple formatted strings. But you might also need one set string formatted to different numbers like this (I propose the name zm for this):
consttemplate=zm`number is {singular|plural}`template(5)template(0)
The text was updated successfully, but these errors were encountered:
The current
mz
implementation allows creating a formatter function bound to a number like this:This is useful when you have one number that you need to use for multiple formatted strings. But you might also need one set string formatted to different numbers like this (I propose the name
zm
for this):The text was updated successfully, but these errors were encountered: