📅  最后修改于: 2022-03-11 14:46:54.036000             🧑  作者: Mango
代码示例1
OldRange = (OldMax - OldMin)
NewRange = (NewMax - NewMin)
NewValue = (((OldValue - OldMin) * NewRange) / OldRange) + NewMin