•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 426,475 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,237 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 8653 | Replies: 2 | Solved
![]() |
Hi,
Could you please show me how to get
1.9
to show with two decimal places (1.90)
you can use
if you want to bring the decimal places down to two
but how do you increase from zero or one decimal place up to two?
Thanks
Peter
Could you please show me how to get
1.9
to show with two decimal places (1.90)
you can use
Math.Round(1.99999999, 2)
but how do you increase from zero or one decimal place up to two?
Thanks
Peter
Hi,
Check this :
Regards
Veena
Check this :
TextBox1.Text = Format(1.9, "0.00") TextBox2.Text = Format(22, "0.00")
Regards
Veena
![]() |
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- problem with decimal places (Visual Basic 4 / 5 / 6)
- C++ question(Decimal places)very weird (C++)
- Excel97 decimal places (Windows Software)
- Double values with two decimal places (C++)
- setting the number of decimal points in double varibale (C)
- Using Decimal Numbers instead of Integers in C (C)
Other Threads in the VB.NET Forum
- Previous Thread: Farmula Fields in Crystal Report
- Next Thread: System.Data.OleDb.OleDbException: Too few parameters. Expected 5


Linear Mode