CaMykS 1.0-20261010
Public Member Functions | Private Attributes | List of all members
CConvertor Class Reference

Convertor object. More...

Public Member Functions

 __construct ()
 
 convert ($value, $from, $to)
 

Private Attributes

 $conversionData
 Available conversion data. More...
 

Detailed Description

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
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.

Constructor & Destructor Documentation

◆ __construct()

CConvertor::__construct ( )

Object constructor.

Member Function Documentation

◆ convert()

CConvertor::convert (   $value,
  $from,
  $to 
)

Convert value from one unit to another.

Parameters
float$value
string$from
string$to
Returns
mixed

Member Data Documentation

◆ $conversionData

array CConvertor::$conversionData
private

Available conversion data.


The documentation for this class was generated from the following file: