finding root decimal value