Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | quanta | |
Tool | quanta |
v | in | value | |
Allowed: | quantity or string | ||
prec | in | convert precision of value | |
Allowed: | integer | ||
Default: | 0 |
- print a := dq.quantity('2.56 yd/s') [value=2.56, unit=yd/s] - dq.tos(a) 2.56 yd/s - a:=dq.quantity(1/7, 'km/s') - dq.tos(a) 0.142857143 km/s - dq.tos(a,2) 0.14 km/s - dq.tos(a,20) 0.14285714285714284921 km/s - dq.tos(a) 0.142857143 km/s