Click or drag to resize

MathStringFormatAsFraction Method

Overload List
  NameDescription
Public methodStatic memberFormatAsFraction(Double)
Formats a number as a fraction for inch measurements, with denominator as power of 2 (up to maximum of 128). Return a fraction, or number and fraction (e.g. 3 5/8), or decimal number if the input is not a power of 2 fraction (within 0.0000001)
Public methodStatic memberFormatAsFraction(Double, Int32)
Formats a number as a fraction for inch measurements, with denominator as power of 2 (up to maximum of 128). Return a fraction, or number and fraction (e.g. 3 5/8), or decimal number if the input is not a power of 2 fraction (within 0.0000001)
Top
See Also