[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ValueBox issue


Le 24/08/2026 à 13:22, Claus Dietrich a écrit :
Another issue with the existing ValueBox of type currency is the fixed number of two decimals. There are a few countries which don't used decimals at all (i.e. Korea and Japan) and others which use 3 or 4.

As an attempt to improve the compliance with national currency standards (as standardized i.e. in ISO 4217) I enhanced my CurrencyBox which now offers:

  *

    automatic selection of decimals (depending on the locale)

  *

    manual selection of 0 - 4 decimals (overriding automatic selection)

  *

    Maximum value of 999,999,999,999.99

See attached project with the enhanced CurrencyBox control.

I suggest to think about a replacement of the existing MaskBox solution inside the ValueBox against something similar to the CurrencyBox.

Best regards

Claus


I have fixed the interpreter and the ValueBox control so that now the number of decimal digits in currencies given by the current localization is taken into account correctly.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: ValueBox issueClaus Dietrich <claus.dietrich@xxxxxxxxxx>
References:
ValueBox issueCharlie Ogier <charlie@xxxxxxxxxx>
Re: ValueBox issueBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: ValueBox issueCharlie Ogier <charlie@xxxxxxxxxx>
Re: ValueBox issueBruce Steers <bsteers4@xxxxxxxxx>
Re: ValueBox issueClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: ValueBox issueClaus Dietrich <claus.dietrich@xxxxxxxxxx>