Re: Up/down value conversions
- From: Jared Parsons [MSFT] <jaredpar@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Jun 2006 22:41:46 +0000 (UTC)
Hello Mike,
Greetings,
We are using an up/down control to facilitate numeric data entry,
however, we are noticing issues converting from the up/down value
(apparently a Decimal) to the units we are working with (Double) and
vice versa. There appear to be precision issues, and then we take
those numbers and scale them according to our application
requirements. Needless to say, the results are anything but what we
might expect. We could be doing some wacky scaling, but
notwithstanding that, is there anything we can do to help clean up the
conversion between Decimal and Double? Or is the answer to provide a
control that better-supports a Double-compatible input? Any
suggestions are welcome. Thanks in advance.
How are you converting from the Decimal to Double currently?
--
Jared Parsons [MSFT]
jaredpar@xxxxxxxxxxxxxxxxxxxx
All opinions are my own. All content is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- Up/down value conversions
- From: Mike
- Up/down value conversions
- Prev by Date: Re: RSACryptoServiceProvider.VerifyData Hangs
- Next by Date: Framework 1.1 Problem
- Previous by thread: Up/down value conversions
- Next by thread: Up/down value conversions
- Index(es):
Relevant Pages
|