Changed scale to accept non-integers