I need to represent some numbers in Java with perfect precision and fixed number of decimal points after decimal point; after that decimal point, I don\'t care. (More concre
Not sure why you need a library for it.
For example, say you want to add two longs with the same fixed precision
long c = a + b;
Say you have a fixed precision number you want to multiple by an integer
long c = a * i;
Say you want to divide a number by a integer rounding to zero
long c = a / i;
Say you want to print a fixed precision number with 3 decimal places.
System.out.println(c / 1e3);
Perhaps you are over thinking the problem and assuming you need a library for everything.
If you are using long or double you might want a small number helper methods for rounding, but you don't need a library as such.