Does standing up after being knocked prone use half your current or maximum speed [duplicate]

I’m DMing a campaign and one of my players is a monk with 40ft of movement. He got hit by a slow spell reducing his speed to 20ft and was knocked prone. To get up would he have to use his full 20ft as its half his max speed or only 10ft as that’s half his current speed?