# Ratio<A> Struct

A ratio between two values.

DECLARATION

public struct Ratio<A>

REMARKS

This is used in the definition of Fractional. ## Constructors

DECLARATION

public ctor Ratio(A num, A den)

SOURCE

Numerator = num;
Denominator = den;

## Fields

SUMMARY

The denominator of the ratio, in non-reduced form.

DECLARATION

public A Denominator

SUMMARY

The numerator of the ratio, in non-reduced form.

DECLARATION

public A Numerator