I'm using QDoubleValidator data = new QDoubleValidator(0.00, 1000.00, 2, lineEdit);
But when you enter the actual value in the lineEdit
field, it does not use the dot ( .
) as the decimal separator, and yes comma ( ,
).
This causes problems when picking the value typed in the field because the program does not take any numbered value using commas.
How to resolve this problem by leaving the dot ( .
) as the decimal separator?