Fractions Unit 0.1 beta
In category
Components > Miscellaneous > Other
Description
The Fractions Unit contains an advanced Delphi "record with methods" that encapsulates a fraction and the operations on it.
Numerous operators are overloaded to allow arithmetic and comparisons to be performed using the normal Pascal operators.
Fractions can also be assigned directly from integers and floating point numbers, making it easy to convert a floating point number to its fractional equivalent.
The unit is documented here.
The Fractions Unit is supplied with DUnit tests for all operators and methods.
Informations
- Status: Fully functional
- Source: FW
- Size: 25 729kB
Platforms:
- Delphi 2009
- Delphi 2010
- Delphi XE
- Delphi XE 2
- Delphi XE2 64-bit
Downloads