Creates a string for displaying fractions.

 public System.String CreateFraction(int numDigits, int denominator)
Public Function CreateFraction(ByVal numDigits As Integer, ByVal denominator As Integer) As String

The number of digits to display.

The value to use as denominator.

A fraction format string.


          //--- Create a style.
          Style styl = wb.CreateStyle();

          //--- Create the fraction format "# ??/10".
          styl.NumberFormat = wb.NumberFormat.CreateFraction(2, 10);
        

          '--- Create a style.
          Dim styl As Style = wb.CreateStyle()

          '--- Create the fraction format "# ??/10".
          styl.NumberFormat = wb.NumberFormat.CreateFraction(2, 10)