Change float variable format