|
-
Nov 20th, 2009, 06:16 AM
#8
Re: Problem When VB save in DB
That level of rounding is not surprising if you are using a floating-point data type (such as Double or Single). Floating-point numbers are designed for a high level of speed, at the expense of a small loss of accuracy.
If you want full accuracy, Currency (which is stored as a scaled integer) is the kind of thing you should be using.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|