Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | quanta | |
Tool | quanta |
name | in | name of unit to define | |
Allowed: | string | ||
v | in | quantity value of new unit | |
Allowed: | string or quantity | ||
Default: | '1' |
- dq.define('JY','1Jy') # your misspelling T - dq.define('VLAunit', '0.898 JY') # a special unit using it T - dq.quantity('5 VLAunit') # check its use [value=5, unit=VLAunit] - dq.convert('5 VLAunit','Jy') [value=4.49, unit=Jy]