Java Utililty Methods Double Number Align

List of utility methods to do Double Number Align

Description

The list of methods to do Double Number Align are organized into topic(s).

Method

doublealign(double min, double number, double max)
aligns number between min and max (guarantees number stays within inclusive bounds of min and max)
return Math.min(max, Math.max(min, number));
doublealign(double min, double number, double max)
aligns number between min and max (guarantees number stays within inclusive bounds of min and max)
return Math.min(max, Math.max(min, number));