Features & Development

? Context( 'RationalNmbrs' ) ??

Re: ? Context( 'RationalNmbrs' ) ??

by Dick Lane -
Number of replies: 0
The attached problem file uses a sequence of
    ($n,$d) = $fraction -> value ;
    $ratnl = ($d == 1)  ? $n  : "\frac{$n}{$d} " ;
to get full-size fractions for display in a solution.
(A RationalNmbr context would eliminate the need for that sort ot fiddling.)

There are also two uses of
    $fraction->with(isHorizontal=>true);
which fail to have the desired effect.