More accurately to say, 2 and 5 after the first decimal place are also pronounced as a long vowel. As for the first decimal place, if there is no number after it, it's a short vowel, whereas if there is number(s) after it, it's a long vowel.
e.g.
2%
に パーセント
2.2%
にい てん に パーセント
2.22%
にい てん にいにい パーセント
Numbers that are read one by one (e.g. telephone number, postal code) are also pronounced as a long vowel.
e.g.
32-2345
さんにい の にいさんよんごう