I am looking to identify method in Java 8 which says square root of any number is complete or not.
For ex:
Math.sqrt(25) gives 5.0
Math.sqrt(49) gives 7.0
Math.sqrt(30) gives 5.477225575051661
So when given number is complete sqrt, need to written true else false, how can we simply do this?