The target has the same Sp.D as my Pokémon has Sp.A. The target has 1 HP left, and 1/2 ≈ 1. A KO? Or must the damage be an integer?
Ruination: https://pokemondb.net/move/ruination
Yes, provided the target is on exactly 1 HP.
It always deals at least 1 HP of damage.
Ruination (Bulbapedia)