I hope you find this useful!
Fix is
ssh -oHostKeyAlgorithms=+ssh-dss root@192.168.8.109
Read more here https://askubuntu.com/questions/836048/ssh-returns-no-matching-host-key-type-found-their-offer-ssh-dss
To format numbers in java, simple
String.format("%.2f", 132.2372342)