scale function

Convert numeric values to a different scale