Fixed 0 cost user upgrade possible

soloarquitectura

Well-known member
Affected version
2.0.0 Beta 4
Set Decimal point character to "," in Language (like in Spanish).
Add user upgrade -> Cost -> 23,85 EUR (sample) -> Save.
Cost is 23,00 €.

Related:
You can set cost 0 though you need to select a payment profile.

Suggestion:
Currency by default based in language seleccion (currently always USD).
 
Set Decimal point character to "," in Language (like in Spanish).
Add user upgrade -> Cost -> 23,85 EUR (sample) -> Save.
Cost is 23,00 €.
This is mostly expected and works exactly the same in XF1. The decimal and thousand separators will only be used for display purposes. Programmatically floating point numbers will always need to be formatted in the "universal" way which is . for decimals. Additionally, you mustn't ever input a number with a thousand separator. 1,000 would come out as 1 and similarly 1.000 would come out as 1, regardless of your language settings.

Related:
You can set cost 0 though you need to select a payment profile.
This is probably a legitimate bug and a regression from XF1 (renamed the thread to be reflective of the issue).

Suggestion:
Currency by default based in language seleccion (currently always USD).
Not an unreasonable suggestion, but it should be made in the appropriate place.
 
Set Decimal point character to "," in Language (like in Spanish).
Add user upgrade -> Cost -> 23,85 EUR (sample) -> Save.
Cost is 23,00 €.
We had a change of heart here, and we have added code which handles this going forward. You just have to bear in mind that, although you might input the values with the localised decimal separator, when you next edit the value it will be using the default decimal separator ..

Also, you should still never enter the thousands separator in. Hope that helps :)

Also fixed the 0 cost issue for the next release, thanks :)
 
Back
Top Bottom