sometimes, but not always...
the control numeric textbox applied rounding by itself and should not, as an ex: I've got 2 forms, a Fly Out form(another window) and a main window(main editor) both have the same control and same style is applied on both controls, the user has to specified an amount on that FlyOut form, the amount entered is 5.66, when lost focus the amount is still good, got the right amount $5.66, click OK on that form, still have the right amount 5.66 on the object returned from that FlyOut Form, but once returning and be back on the main window with that same object, sometime the control on the main windows round it to 6 but it should not
why it behave not the same way? in the object I have the right amount 5.66 but what we got displayed on the control on main window is 6, so if I lost focus on that field it will change the value to 6 to replace the 5.66 on my object, seems that the control on the main windows sometime is losing the styling and applied a rounding by itself why?
all of this, just saying that, I don't have the rounding issue If I've entered the amount directly on the control, I have this issue only by binding (once the object values are being update by another form and be back on the main form with that object with same type of control and same style be applied on controls)..hope this help and not losing anybody :)
here the style I've use on both Forms
How can I setup the control to never round the value?
<Style x:Name="SfNumericTextBoxCurrencyStyle" TargetType="SyncfusionInput:SfNumericTextBox">
<Setter Property="RequestedTheme" Value="Light" />
<Setter Property="FontSize" Value="17" />
<Setter Property="Padding" Value="0,0,5,0"/>
<Setter Property="FormatString" Value="C2"/>
<Setter Property="TextAlignment" Value="Right" />
<Setter Property="MaximumNumberDecimalDigits" Value="2"/>
</Style>
thanks!