Change cmd type to float