src/vs/editor/common/config/editorOptions.ts/EditorFloatOption/clamp
class EditorFloatOption:	public static clamp(n: number, min: number, max: number): number {
		if (n < min) {
			return min;
		}
		if (n > max) {
			return max;
		}
		return n;
	}