Template:Len/doc

THIS TEMPLATE IS COPIED FROM METAWIKI.

This template determines the number of digits before the decimal point excluding leading zeros in non-negative numbers with a maximum of 15. It's designed to be used in template development, its code should be substituted inline.
 * Result -1: Value &lt; 0, error. Non-negative numbers incl. 0 yield at least 0.
 * Result &#160;0: Value &lt; 1 (10^0), negative exponents like -2 for 0.01 not supported.
 * Result &#160;1: Value &lt; 10 (10^1), especially 1 up to 9.
 * Result &#160;2: Value &lt; 100 (10^2), especially 10 up to 99.
 * Result &#160;3: Value &lt; 1000 (10^3), especially 100 up to 999.
 * Result 15: Value &lt; 10^15
 * Result 16: 10^15 &lt;= value, see accuracy.


 * Examples&#58;
 * (timestamp)
 * (out of range)
 * (out of range)
 * (timestamp)
 * (out of range)
 * (out of range)
 * (timestamp)
 * (out of range)
 * (out of range)
 * (out of range)
 * (out of range)
 * (out of range)