Method | Description | |
---|---|---|
ToFraction ( ) : string |
Converts the return type to a fraction. Uses a slash "/" as the default numerator/denominator seperator. Uses a space " " as the default whole number/fracational seperator.
|
|
ToFraction ( string fractionSeperator ) : string | ||
ToFraction ( string fractionSeperator, int factor ) : string |
Converts the return type to a fraction. You must specify a default numerator/denomiator seperator character.
|
|
ToFraction ( string fractionSeperator, string wholeNumberSeperator ) : string | ||
ToFraction ( string fractionSeperator, string wholeNumberSeperator, int factor ) : string |
public ToFraction ( string fractionSeperator ) : string | ||
fractionSeperator | string | |
return | string |
public ToFraction ( string fractionSeperator, int factor ) : string | ||
fractionSeperator | string | The default numerator/denominator to use as a seperator |
factor | int | Set to the highest precision you want. The numerator and/or denominator will never be higher than this number. |
return | string |
public ToFraction ( string fractionSeperator, string wholeNumberSeperator ) : string | ||
fractionSeperator | string | |
wholeNumberSeperator | string | |
return | string |
public ToFraction ( string fractionSeperator, string wholeNumberSeperator, int factor ) : string | ||
fractionSeperator | string | |
wholeNumberSeperator | string | |
factor | int | |
return | string |