|
-
Nov 30th, 2006, 09:33 AM
#1
Fanatic Member
Re: Data Type Problem
you will want to format it for display. I just do this:
Format(cDbl(variable * variable), "##0.0000")
Warren Ayen
Senior C# Developer
DLS Software Studios ( http://www.dlssoftwarestudios.com/)
I use Microsoft Visual Studio 2005, 2008, working with Visual Basic and Visual C#
Hey! If you like my post, or I solve your issue, please Rate Me!
-
Nov 30th, 2006, 10:04 AM
#2
Re: Data Type Problem
Floating point values are not supposed to be accurate.
If you are looking for accuracy do not ever use them.
We do financial and payroll systems here - we never ever use float.
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
|