Convertor object.
More...
Convertor object.
Engine / Object Library
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.0
- Date
- Creation: Sep 2025
-
Modification: Sep 2025
- Copyright
- 2025 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- Warning
- This library is not loaded with CaMykS initialisation. CConvertor class.
◆ __construct()
| CConvertor::__construct |
( |
| ) |
|
◆ convert()
| CConvertor::convert |
( |
|
$value, |
|
|
|
$from, |
|
|
|
$to |
|
) |
| |
Convert value from one unit to another.
- Parameters
-
| float | $value | |
| string | $from | |
| string | $to | |
- Returns
- mixed
◆ $conversionData
| array CConvertor::$conversionData |
|
private |
Available conversion data.
The documentation for this class was generated from the following file: