I think you'd be surprised how much financial code is implemented using floating point, especially in software for small and medium businesses. It's fine unless you're handling huge amounts that can't be accurately stored by the precision available.
But yes, ideally you should implement currency calculations as integer calculations in the smallest denomination (e.g. cents, pennies etc)