Preparation from ammonium fluoride