TiffRational.ApproximateFraction
Contents
[
Hide
]ApproximateFraction(double, double)
Approximates the provided value to a fraction.
public static TiffRational ApproximateFraction(double value, double epsilon)
Parameter | Type | Description |
---|---|---|
value | Double | The value. |
epsilon | Double | The error allowed. |
Return Value
A rational number having error less than epsilon.
See Also
- class TiffRational
- namespace Aspose.PSD.FileFormats.Tiff
- assembly Aspose.PSD
ApproximateFraction(double)
Approximates the provided value to a fraction.
public static TiffRational ApproximateFraction(double value)
Parameter | Type | Description |
---|---|---|
value | Double | The value. |
Return Value
A rational number having error less than Epsilon
.
See Also
- class TiffRational
- namespace Aspose.PSD.FileFormats.Tiff
- assembly Aspose.PSD
ApproximateFraction(float, double)
Approximates the provided value to a fraction.
public static TiffRational ApproximateFraction(float value, double epsilon)
Parameter | Type | Description |
---|---|---|
value | Single | The value. |
epsilon | Double | The error allowed. |
Return Value
A rational number having error less than epsilon.
See Also
- class TiffRational
- namespace Aspose.PSD.FileFormats.Tiff
- assembly Aspose.PSD
ApproximateFraction(float)
Approximates the provided value to a fraction.
public static TiffRational ApproximateFraction(float value)
Parameter | Type | Description |
---|---|---|
value | Single | The value. |
Return Value
A rational number having error less than Epsilon
.
See Also
- class TiffRational
- namespace Aspose.PSD.FileFormats.Tiff
- assembly Aspose.PSD