Added float mapping method.