TiffSRational.ApproximateFraction
Contents
[
Hide
]ApproximateFraction(double, double)
Approximates the provided value to a fraction.
public static TiffSRational 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 TiffSRational
- namespace Aspose.Imaging.FileFormats.Tiff
- assembly Aspose.Imaging
ApproximateFraction(double)
Approximates the provided value to a fraction.
public static TiffSRational ApproximateFraction(double value)
Parameter | Type | Description |
---|---|---|
value | Double | The value. |
Return Value
A rational number having error less than Epsilon
.
See Also
- class TiffSRational
- namespace Aspose.Imaging.FileFormats.Tiff
- assembly Aspose.Imaging
ApproximateFraction(float, double)
Approximates the provided value to a fraction.
public static TiffSRational 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 TiffSRational
- namespace Aspose.Imaging.FileFormats.Tiff
- assembly Aspose.Imaging
ApproximateFraction(float)
Approximates the provided value to a fraction.
public static TiffSRational ApproximateFraction(float value)
Parameter | Type | Description |
---|---|---|
value | Single | The value. |
Return Value
A rational number having error less than Epsilon
.
See Also
- class TiffSRational
- namespace Aspose.Imaging.FileFormats.Tiff
- assembly Aspose.Imaging