I have a RadMaskedCurrencyInput in a grid cell, and in the grid loadingrow event the maskedInput is being set.
If the previous value for the maskedInput is negative (appears with parentheses around the number), and the new value is zero, then the rendered value is a negative zero "(0)" instead of "0".
Conversely, if the previous value is positive, and the new value is zero, then the rendered value is "0".
All incoming zeros are converted to Decimal.Zero.
What I've found is that if I set the value of the maskedInput to null, then set it to zero, then it won't render the zero as a negative.
Is this desired behavior?
For my particular application, all zeros need to be rendered as a positive zero. My fix seems a little hokey, but it seems to work.
If the previous value for the maskedInput is negative (appears with parentheses around the number), and the new value is zero, then the rendered value is a negative zero "(0)" instead of "0".
Conversely, if the previous value is positive, and the new value is zero, then the rendered value is "0".
All incoming zeros are converted to Decimal.Zero.
What I've found is that if I set the value of the maskedInput to null, then set it to zero, then it won't render the zero as a negative.
Is this desired behavior?
For my particular application, all zeros need to be rendered as a positive zero. My fix seems a little hokey, but it seems to work.