cancel
Showing results for 
Search instead for 
Did you mean: 

Converting between types in Web Dynpro

Former Member
0 Kudos

Is it possible to convert between data types in web dynpro? I am trying to covert a string to another data type (int, BigDecimal, etc.)? I have found no documentation on how to do this?

Any help will be greatly appreciated. Thanks

Accepted Solutions (1)

Accepted Solutions (1)

praveenkumar_kadi
Active Contributor
0 Kudos

Hi Eric,

If You use Web dynpro for Java, It's same as datatype conversion in java.

For ex: if you want to convert from double value to float pls follow like this.

float floatvar;

double doublevar;

floatvar= (float)doublevar;

For more Information on data type conversion pls refer this URL

http://www.unf.edu/~rzucker/cop3540dir/jdtconvt.html

Hope this help. pls award points if you satisfied

Thanks

Praveen

Answers (0)