TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
bryant_buckland
NA
1
0
Formatting a single to two decimal places
Sep 17 2004 11:16 PM
I need help in trying to format a single to only 2 decimal places Dim d as single Dim i as integer Dim p as integer i = 2000 p = 34567 d = (i / p ) label1.text = d Now the answer is 0.057858651314837851129690166922209, but I only want to show .06 so I also need to round up the second decimal place as well. I cannot seem to find good documentation on this, and I know that this seems like a total newbie question, but I am so lost it is not even funny =)
Reply
Answers (
2
)
Excel File with radio buttons
how to make software secure using VB.NET