![]() ![]() The only downside is that there's no difference between toIntOfDefault("-1", -1) and toIntOrDefault("oops", -1). Java API provides static methods like Float.parseFloat() and Double.parseDouble() to perform data type conversion. Same technique can be used to convert other data type like float and Double to String in Java. The following link says that it is not possible but since new Java version are available I would like to check.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |