Coding Studio controller code to slow sensitivity down C++

I am a MS teacher trying to get our robots to slow down. We are using Coding Studio C++ because we want to compete. What is the code for changing Axis 2 and 3 on the controllers to instead go from 0-100 percent to 0-50%. We need to slow these robots down. In RobotC, you used to be able to cut the 127 in half and adjust the sensitivity. Thanks!

Here is our example of the drive code only:

void usercontrol( void ) {

Rightwheel.spin(vex::directionType::fwd, Controller1.Axis3.value(), vex::velocityUnits::pct);
Leftwheel.spin(vex::directionType::fwd, Controller1.Axis2.value(), vex::velocityUnits::pct);

Looks like I may be a little late, but you should just be able to use Controller1.Axis3.value()/2 just dividing each value by two.
So -

Rightwheel.spin(vex::directionType::fwd, Controller1.Axis3.value()/2, vex::velocityUnits::pct);
Leftwheel.spin(vex::directionType::fwd, Controller1.Axis2.value()/2, vex::velocityUnits::pct);