•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 401,946 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 3,368 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.
Views: 2438 | Replies: 2 | Solved
![]() |
Where do you want it cut down? For display, many things such as texboxes have a way to number format data.
Then there's the Format function.
http://www.samspublishing.com/librar...eqNum=154&rl=1
As a very last resort, you basically multiple the number by 100, truncate to int, then divide by 100. But that's VERY old school, and assumes for some reason you don't have any of the normal string and number formatting functions available.
Then there's the Format function.
http://www.samspublishing.com/librar...eqNum=154&rl=1
As a very last resort, you basically multiple the number by 100, truncate to int, then divide by 100. But that's VERY old school, and assumes for some reason you don't have any of the normal string and number formatting functions available.
Google is your friend. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/
Bored? Visit http://www.kaelisspace.com/
•
•
Join Date: Aug 2006
Posts: 27
Reputation:
Rep Power: 3
Solved Threads: 0
•
•
•
•
Where do you want it cut down? For display, many things such as texboxes have a way to number format data.
Then there's the Format function.
http://www.samspublishing.com/librar...eqNum=154&rl=1
As a very last resort, you basically multiple the number by 100, truncate to int, then divide by 100. But that's VERY old school, and assumes for some reason you don't have any of the normal string and number formatting functions available.
Thanks!
![]() |
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Two Decimal Places (VB.NET)
- Problem with memory allocation =( (C)
- C++ question(Decimal places)very weird (C++)
- Excel97 decimal places (Windows Software)
- Double values with two decimal places (C++)
- help with program (C++)
- I need special stuff in my project like system("cls") (C++)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: problem with mscomm
- Next Thread: gamepad in vb?


Linear Mode