how do i map a potentiometer from 0 - 1023 to 0 - 127 problems

Ok, thanks for letting us know.