Random float API