%% Convert Decimal Currency Values to Fractional Values
% This example shows how to convert decimal currency values to fractional values.

Fraction = cur2frac(12.125, 8)

% Copyright 2015 The MathWorks, Inc.