you can use floating point support in your hcs12x project. but please note floating point lib is very memory consumming, the floating lib supported project will generate bigger code size burning image after build.
=======================================
this answer is for you. if it helps, please click on "correct answer" button. thanks!
Best Regards,
ZhangJun