Are you aware of the fact that the AsInteger method on NextGrid, NxNumberEdit, NxSpinEdit etc uses Round() to get the Integer value?
Example:
(3.4).AsInteger = 3
(3.5).AsInteger = 4
I would have expected (X).AsInteger = Trunc(X)
If this is by design then it is fine, as long as you are aware of it. It caught me by surprise
Regards,
Deon











