ApproximateFraction
Contents
[
Hide
]TiffSRational.ApproximateFraction method (1 of 4)
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
TiffSRational.ApproximateFraction method (2 of 4)
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
TiffSRational.ApproximateFraction method (3 of 4)
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
TiffSRational.ApproximateFraction method (4 of 4)
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