MediaRational.double

Parameters

r Rational number to convert.

Description

Returns the rational value expressed as a floating point value.

A loss of precision may result when performing the division. Converting invalid rationals (see isValid) returns 0.


Did you find this page useful? Please give it a rating: