public int this[Percentage p] => from + (int)((to - from) * p.value);
public float this[Percentage p] => from + (to - from) * p.value;