Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How does asp convert the values in the text box into numbers?
How does asp convert the values in the text box into numbers?
Response. Write(Cint("05")+Cint("05 "))

Cint("05 "): Converts a string to an integer.

=============================================

What the landlord wants is this effect:

Size N 1, N2

N 1 = "0.52 "

N2 = " 1.3 "

N 1 = FormatNumber(N 1,2,- 1,0,- 1)

N2 = format number (N2, 2,-1, 0,-1)

Response. Write(CDbl(N 1)+CDbl(N2))