TiffSRational.ApproximateFraction
内容
[
隐藏
]ApproximateFraction(double, double)
将提供的值近似为分数。
public static TiffSRational ApproximateFraction(double value, double epsilon)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | Double | 该值。 |
| epsilon | Double | 允许的误差。 |
返回值
误差小于 epsilon 的有理数。
另请参见
- class TiffSRational
- namespace Aspose.Imaging.FileFormats.Tiff
- assembly Aspose.Imaging
ApproximateFraction(double)
将提供的值近似为分数。
public static TiffSRational ApproximateFraction(double value)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | Double | 该值。 |
返回值
误差小于 Epsilon 的有理数。
另请参见
- class TiffSRational
- namespace Aspose.Imaging.FileFormats.Tiff
- assembly Aspose.Imaging
ApproximateFraction(float, double)
将提供的值近似为分数。
public static TiffSRational ApproximateFraction(float value, double epsilon)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | 单精度 | 该值。 |
| epsilon | Double | 允许的误差。 |
返回值
误差小于 epsilon 的有理数。
另请参见
- class TiffSRational
- namespace Aspose.Imaging.FileFormats.Tiff
- assembly Aspose.Imaging
ApproximateFraction(float)
将提供的值近似为分数。
public static TiffSRational ApproximateFraction(float value)
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | 单精度 | 该值。 |
返回值
误差小于 Epsilon 的有理数。
另请参见
- class TiffSRational
- namespace Aspose.Imaging.FileFormats.Tiff
- assembly Aspose.Imaging