* Replaced calculations with float precision