is there any standard library function to convert decimals to fractions, for example if the input is 3.14159265 the output = 22/7 ?
thanks!
Type: Posts; User: debug
is there any standard library function to convert decimals to fractions, for example if the input is 3.14159265 the output = 22/7 ?
thanks!
is this what you looking for?
TreeMap tm = new TreeMap();
tm.put('A', 1);
tm.put('B', 2);
tm.put('C', 3);
tm.put('D', 4);
...
can you elaborate please? thanks!
i want to use the treemap class to do something like:
(sort the names according to height if the height is same sort the names according to weight)
at the...
hi!
i need help with the treemap, the problem is if i store 2 elements with the same key but different values, only the latest entry gets stored for example
TreeMap map = new TreeMap();...