Space- and time-dependent scaling of numbers in mathematical structures: effects on physical and geometric quantities