Create function for parsing prefixed numbers.