用户可借助该项目实现不同物理单位间的数值转换,支持前缀转换(如千、兆、吉)及单位制转换(如升与加仑),覆盖加速度、角度、面积等多种物理量。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago |
KUnitConversion
Converting physical units
Introduction
KUnitConversion provides functions to convert values in different physical units. It supports converting different prefixes (e.g. kilo, mega, giga) as well as converting between different unit systems (e.g. liters, gallons). The following areas are supported:
- Acceleration
- Angle
- Area
- Binary Data
- Currency
- Density
- Electrical Current
- Electrical Resistance
- Energy
- Force
- Frequency
- Fuel Efficiency
- Length
- Mass
- Permeability
- Power
- Pressure
- Temperature
- Thermal Conductivity
- Thermal Flux
- Thermal Generation
- Time
- Velocity
- Volume
- Voltage
Usage
To convert 100 GBP into EUR, you can write:
using namespace KUnitConversion;
Value pounds(100, Gbp);
Value eur = pounds.convertTo(Eur);
Introduction
用户可借助该项目实现不同物理单位间的数值转换,支持前缀转换(如千、兆、吉)及单位制转换(如升与加仑),覆盖加速度、角度、面积等多种物理量。【此简介由AI生成】
Customize your domain