one float cast should suffice and please user spaces before and after operators.