Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to display % in string

Status
Not open for further replies.

sony2000

Programmer
Dec 7, 2003
34
0
0
HK
Hi,

Does anyone know how to display % in a string? VB.NET
does not allow me to put a single % in a string.

Thanks for your kind attention,
Raymond
 
It works fine for me. Are you enclosing it in double quotes?

dim fred as string = "%
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top