[5760] in java-interest
Re: Getting numbers...
daemon@ATHENA.MIT.EDU (Sung-Jin,Kim)
Sun Feb 25 21:42:43 1996
Date: Mon, 26 Feb 1996 10:26:04 +0900
To: java-interest@java.sun.com
From: "Sung-Jin,Kim" <gamestar@vision.nara.co.kr>
$)C
At 11:00 ?@HD 96-02-24 -0500, you wrote:
>How do I get a number from the <param...> tag, it seems that I can only get
strings. Do I have to get it as a string and then convert it to a integer.
If so, how do I convert a string to an integer.
>
>I hope I make all of you feel useful...
>I'm not quite dead, I think I'd like to go for a walk now...
>
>Dave DeMaagd
> demaagd@cs.hope.edu
> http://www.cs.hope.edu/~demaagd
Yes..It's Very Simple Like this.
You Can use method in Interger class.
<Like This>
int speed;
String att = getParameter("speed"); // att is String Which you get.
<from... html>
speed = Integer.valueOf(att).intValue();
-------------------------------
This Line return Interger value.
right?
May you feel good day and Programming Life!!! <2002 WorldCup in
KOREA>
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com