Plurals with float number

2 months 2 weeks ago #3988 by smaika

I might be doing something wrong or there must be a workaround.
Whenever a parameter is set to a float number the translation doesn't seem to work correctly.

I have a term set to,
Plural: [Length] Months
One: [Length] Month

Now, if the parameter Length is set to 5.3, for example, the translation on text is "5.3 Days[i2p_One]5.3 Day"
It does work as expected if it was an integer number but not if it's a float number!

Is there a workaround to that or am I doing something wrong?

Please Log in or Create an account to join the conversation.

Time to create page: 0.115 seconds
Template by JoomlaShine