Class: Numeric

Class | Numeric
In: | lib/gd2.rb
Parent: | Object

### Methods

degree degrees percent to_degrees to_percent

### Public Instance methods

degree()

Alias for degrees

degrees()

Express an angle in degrees, e.g. 90.degrees. Angles are converted to radians.

percent()

Express a percentage, e.g. 50.percent. Percentages are floating point values, e.g. 0.5.

to_degrees()

Convert an angle (in radians) to degrees.

to_percent()

Convert a number to a percentage value, e.g. 0.5 to 50.0.

[Validate]