| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1488 |
|
| Package | general | |
| Module | quanta | |
| Tool | quanta |
| v | in | value to output | |
| Allowed: | angle quantity or string | ||
| prec | in | number of digits shown | |
| Allowed: | numeric | ||
| Default: | 0 | ||
| form | in | formatting information | |
| Allowed: | coded string array | ||
| Default: | '' | ||
| showform | in | show square brackets and separating , | |
| Allowed: | bool | ||
| Default: | F | ||
- tu := dq.quantity('5.7.12.345678') # define an angle
- tu
[value=5.1201, unit=deg]
- dq.angle(tu) # default output
+005.07.12
- dq.angle(tu, prec=7) # 7 digits
+005.07.12.3
- dq.angle(tu, prec=4) # 4 digits
+005.07.
- dq.angle(tu, form="tim no_d") # as time, no hours shown
:20:29