Cleaned up and ensured always using floatval

Signed-off-by: Justin Yost <justin.yost@yostivanich.com>