How to format integer number to decimal number format in vb.net

How to format integer number to decimal number format in vb.net

How
to show 1 with two decimal places (1.00)

How to add .00 to integer in vb.net

How to add 10 with .00 to get (10.00)

How to remove more than two decimal points

How to get 1.90001 to show with two decimal places (1.99)

---------------------------------------------------------------------------------------------
Txtamount.Text = Format(CType(Txtamount.Text, Double), "#0.00")
----------------------------------------------------------------------------------------------

2 comments:

Anonymous said...

Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!

Anonymous said...

Genial dispatch and this fill someone in on helped me alot in my college assignement. Gratefulness you for your information.