- Register
- Help
- Remember Me?
- Forum
- What's New?
Advertiser Disclosure
- VBForums
- Visual Basic
- Visual Basic .NET
- [RESOLVED] Convert double to string WITHOUT scientific notation?
- If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Results 1 to 3 of 3 Thread: [RESOLVED] Convert double to string WITHOUT scientific notation? - Aug 29th, 2006, 03:51 PM #1 jasonumd
- View Profile
- View Forum Posts
Thread Starter New Member Join Date Jul 2006 Posts 13 [RESOLVED] Convert double to string WITHOUT scientific notation? I am trying to convert a double to a string without VB automatically converting the double to scientific notation. For example, when "0.0000101" is converted to a string, the string is equal to "1.01E-06". I have spent most of the afternoon trying to find out how to do this conversion and I can't. Help!! Thanks in advance, Jason Reply With Quote - Aug 29th, 2006, 04:26 PM #2 mpdeglau
- View Profile
- View Forum Posts
Frenzied Member Join Date Jul 2005 Posts 1,521 Re: Convert double to string WITHOUT scientific notation? This is a round-about way. But it looks like it works. Convert the number to a decimal (or better yet, if you can just use a decimal instead of double), and call ToString on that. VB Code: - Dim num As Double = 0.0000101
- Messagebox.Show(Cdec(num).ToString)
Visual Studio Team Edition 2005 GDI+ Links: Bob Powell VB.Net Heaven API Links: All API Pinvoke.Net VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread) Reply With Quote - Aug 30th, 2006, 07:40 AM #3 jasonumd
- View Profile
- View Forum Posts
Thread Starter New Member Join Date Jul 2006 Posts 13 Re: Convert double to string WITHOUT scientific notation? That worked great. Thanks!!! Reply With Quote Quick Navigation Visual Basic .NET Top - Site Areas
- Settings
- Private Messages
- Subscriptions
- Who's Online
- Search Forums
- Forums Home
- Forums
- Visual Basic
- Visual Basic .NET
- CodeBank - VB.net
- Visual Basic 6 and Earlier
- CodeBank - Visual Basic 6 and earlier
- TwinBASIC
- CodeBank - TwinBASIC
- Universal Windows Platform and Modern Windows Experience
- Xamarin
- Mobile Development
- ASP, VB Script
- Office Development
- Database Development
- Reporting
- API
- Games and Graphics Programming
- Game Demos
- COM and ActiveX
- Network Programming
- Visual Basic FAQs
- Slow Chat with the Microsoft Visual Basic team
- .NET and More
- ASP.NET And ASP.NET Core
- Visual Basic .NET
- MVC .Net
- C#
- Microsoft Azure and Cloud Dev
- WPF, WCF, WF
- .NET Architecture and Design
- Silverlight
- General
- General Developer Forum
- IoT, IoE, and Maker Forum
- Testers and Testing
- Application Testing
- Application Deployment
- Linux Development
- General PC
- VBForums Coding Contests
- Contest Entries
- Code It Better
- Maths Forum
- Other Languages
- Other BASIC
- C and C++
- Java
- PHP
- XML, HTML, Javascript, Web and CSS
- jQuery
- Assembly
- Other Programming Languages
- VBForums CodeBank
- CodeBank - Visual Basic .NET
- CodeBank - Visual Basic 6 and earlier
- CodeBank - ASP / ASP.NET / Blazor / MVC / Web API
- CodeBank - C#
- CodeBank - C++
- CodeBank - Java / J#
- CodeBank - PHP
- Codebank - Game Programming
- Codebank - Mobile Development
- CodeBank - JavaScript
- Codebank - Cascading Style Sheets (CSS)
- CodeBank - Other
- VBForums UtilityBank
- UtilityBank - Utilities
- UtilityBank - IDE Add-Ins
- UtilityBank - Components
- UtilityBank - Tutorials
- UtilityBank - Other
- Projects
- Project Requests
- Project Communication Area
- Jobs
- Just VB Jobs
- Open Positions (Jobs)
- Looking for Work
- Community
- Forum Feedback
- General Discussion / Chit Chat
- World Events
- Forum Test Area
« Previous Thread | Next Thread » - VBForums
- Visual Basic
- Visual Basic .NET
- [RESOLVED] Convert double to string WITHOUT scientific notation?
Posting Permissions - You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
- BB code is On
- Smilies are On
- [IMG] code is On
- [VIDEO] code is On
- HTML code is Off
Forum Rules | Click Here to Expand Forum to Full Width |
Terms of Service | About Us | Privacy Notice | Contact Us | Advertise | Sitemap
| California - Do Not Sell My Info
Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.
All times are GMT -5. The time now is
09:07 PM.