Unit conversion
-
- Site Admin
- Posts: 181
- Joined: 11 Jul 2014, 13:55 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
Unit conversion
Version 5.1.14 and higher
Function CUnit converts value from one physical unit to another.
Syntax:
double X = CUnit(double Value, string TargetUnit)
or
double X = CUnit(double Value, string TargetUnit, string SourceUnit)
Notes:
If no SourceUnit is set, function convert value from basic SI unit to the TargetUnit.
Source and Target unit must be defined by a static string (not a variable, function, ...).
- Attachments
-
- ConvertUnit.cls
- (34.96 KiB) Downloaded 267 times
Ing. Petr Slepicka
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
Return to “Design forms features”
Who is online
Users browsing this forum: No registered users and 10 guests