Template:Precision

The Template:Getprecision determines the precision (as a count of decimal digits) for any amount, large or negative, using a fast algorithm. It can also handle a trailing decimal point (such as "15." or "-41.") or trailing zeroes (such as "15.34000" having precision as 5 decimal digits).

Examples
Some examples:
 * 3 &rarr; 3
 * &rarr;
 * &rarr;
 * &rarr;