Warning, /frameworks/kunitconversion/README.md is written in an unsupported language. File is not indexed.
0001 # KUnitConversion 0002 0003 Converting physical units 0004 0005 ## Introduction 0006 0007 KUnitConversion provides functions to convert values in different physical 0008 units. It supports converting different prefixes (e.g. kilo, mega, giga) as 0009 well as converting between different unit systems (e.g. liters, gallons). The 0010 following areas are supported: 0011 0012 * Acceleration 0013 * Angle 0014 * Area 0015 * Binary Data 0016 * Currency 0017 * Density 0018 * Electrical Current 0019 * Electrical Resistance 0020 * Energy 0021 * Force 0022 * Frequency 0023 * Fuel Efficiency 0024 * Length 0025 * Mass 0026 * Permeability 0027 * Power 0028 * Pressure 0029 * Temperature 0030 * Thermal Conductivity 0031 * Thermal Flux 0032 * Thermal Generation 0033 * Time 0034 * Velocity 0035 * Volume 0036 * Voltage 0037 * Weight per area 0038 0039 ## Usage 0040 0041 To convert 100 GBP into EUR, you can write: 0042 0043 using namespace KUnitConversion; 0044 Value pounds(100, Gbp); 0045 Value eur = pounds.convertTo(Eur); 0046