Change version 4 from double to float