Use Math.max() and Math.min() to find the closest safe value. Use Math.round() to convert to an integer.
Math Related
Distance Speed Time
Calculate the time, distance, or speed given any two of the pieces of information. Convenient!
Amazing Quadratic Equation Solver
This script will factor and solve for both values of X, any quadratic equation that has real number solutions.
Roman Numeral Converter 2
This script will convert whole numbers to Roman numerals, up to 3,999,999. Easy to use.
Metric BMI Calculator
Use this script to calculate your BMI (Body Mass Index). Measurements are computed using the metric system. A perfect addition for a health Web site.
Astrological Calculator
A handy astrological calculator that will calculate both your Western and Chinese birth Signs.
Quartic Equation Solver
This script can solve quartic equations in the form of ax^4 + bx+3 + cx^2 + dx + e = 0.
Circumference Calculator
Find out the circumference of a circle by entering its radius. Very simple!
GCD/LCM Calculator
This calculator can quickly determine the Greatest Common Factor and Least Common Multiplier between two or three numbers.
Weight Watchers Points Calculator
Are you designing a diet Web site? Are you using the Weight Watchers Points plan to lose weight? If so, this little calculator might just come in handy. A simple but quick method to figure WW points.