| | |
number of digits after decimal
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
hi,
I am trying to display a decimal in a textbox as 10.23. right now it is shown as 10.2333.
i have created a function that removes the last two digits of the number but sometimes the number is 10.23 so when using this function it will remove the two digits ie 10..
is there anyway i could count the number of digits after decimal point then remove accordingly.
thanks
I am trying to display a decimal in a textbox as 10.23. right now it is shown as 10.2333.
i have created a function that removes the last two digits of the number but sometimes the number is 10.23 so when using this function it will remove the two digits ie 10..
is there anyway i could count the number of digits after decimal point then remove accordingly.
thanks
![]() |
Similar Threads
- Combinations of 0 and 1 for a given number of digits in C++ (C++)
- number of digits in a base (C)
- fixed number of decimals (C++)
- C++, issues with converting a decimal to fraction (C++)
- Finding the number of digits in a number (C++)
- Program that takes an integer value and returns the number with digits reversed (C++)
- Adding decimal numbers together? (C)
Other Threads in the VB.NET Forum
- Previous Thread: Global Hook Please Help
- Next Thread: Login System
| Thread Tools | Search this Thread |
"crystal .net 2008 access add advanced application array assignment basic beginner box browser button buttons center click client code combo convert cpu cuesent data database datagrid datagridview datetimepicker designer dissertation dissertations dissertationtopic dosconsolevb.net eclipse editvb.net employees excel exists firewall forms html images isnumericfuntioncall listview map math memory mobile module msaccess mssqlbackend mysql navigate net number opacity open pan pdf picturebox picturebox2 port print printpreview record regex reuse right-to-left save search serial settings socket sorting sqldatbase sqlserver storedprocedure temp textbox timer transparency txttoxmlconverter upload useraccounts usercontol vb vb.net vb.nettoolboxvisualbasic2008sidebar vba vbnet vista visual visualbasic visualbasic.net visualstudio.net web winsock wpf wrapingcode xml






