Rev 4158 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4158 | Rev 5768 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | 1m, physical quantity\ |
4 | 1m, physical quantity\ |
| 5 | 3, number of significative digits\ |
5 | 3, number of significative digits\ |
| 6 | , optional: order of magnitude of the digit before the decimal dot; only valid if the quantity is dimensionless, just a number with no unit.\ |
6 | , optional: order of magnitude of the digit before the decimal dot; only valid if the quantity is dimensionless, just a number with no unit.\ |
| 7 | , optional: the desired physical unit to show (possibly a multiple or sub-multiple). |
7 | , optional: the desired physical unit to show (possibly a multiple or sub-multiple). |
| 8 | slib_out=the physical quantity with the right number of digits, or a numeric value which would be equal to the result with the right number of digits. |
8 | slib_out=the physical quantity with the right number of digits, or a numeric value which would be equal to the result with the right number of digits. |
| 9 | slib_comment=the default means: 1 meter with three significative digits. The last example shows how the numeric value may lack some trailing zeros after the dot.<p><b>Known bug:</b><br>if the third parameter is used, the output may have a wrong syntax. Ensure that the resulting number has its decimal dot near its significant digits. |
9 | slib_comment=the default means: 1 meter with three significative digits. The last example shows how the numeric value may lack some trailing zeros after the dot.<p><b>Known bug:</b><br/>if the third parameter is used, the output may have a wrong syntax. Ensure that the resulting number has its decimal dot near its significant digits. |
| 10 | slib_example=1.2345A,2\ |
10 | slib_example=1.2345A,2\ |
| 11 | 1.2V,5\ |
11 | 1.2V,5\ |
| 12 | 12,3\ |
12 | 12,3\ |
| 13 | 12,3,4\ |
13 | 12,3,4\ |
| 14 | 0.50A.h\ |
14 | 0.50A.h\ |