aspose file tools*
The moose likes Servlets and the fly likes data retreival Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "data retreival" Watch "data retreival" New topic
Author

data retreival

jamuna
Greenhorn

Joined: Feb 16, 2001
Posts: 8
how can i define a table in mysql to include float values like amounts?how can I display the amount in float value in html using form retreival?if possible give the code please.Your help is greatly appreciated.
Thanks,
Jams
james_deshpande
Greenhorn

Joined: Feb 13, 2001
Posts: 23
IN ORACLE WE USE FLOAT AS DATATYPE.
IN MYSQL ALSO IT IS THE SAME.
TO GWT VALUES:
rs.getFloat("amount");

Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"james_deshpande",
Thanks for answering "jamuna"'s post. However, we would really prefer if both of you chose user names which meet the naming requirements for this site.
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
Consider Paul's rocket mass heater.
 
subject: data retreival