I have textbox receives number by the user. the problem is that I want to format this textbox to show the numbers as the next face: 15000.25 >> 15,000.25 I used FormatNumber Function:
dim x as double
x = FormatNumber(textbox1.text,2)
textbox1.text = x
but here the problem is I want to keep the decimal places as entered by the user, examples:
15000.225 >> 15,000.225 NOT 15,000.22 0.00083 >> 0.00083 NOT 0
I hope my problem is clear.