astropy/astropy — pull request #527 by mdboom (2012-12-04 17:54:24+00:00)
Title: Fix precision and width attributes to match the VOTable spec.

This is in response to something found in #526, though it doesn't necessarily fix that problem.

This makes the precision and width attributes behave (I think) correctly according to the spec.

Note that there are two forms of the `precision` attribute in VOTable:

```
the precision attribute is meant to express the number of significant digits, either as a number of decimal places (e.g. precision="F2" or equivalently precision="2" to express 2 significant figures after the decimal point), or as a number of significant figures (e.g. precision="E5" indicates a relative precision of 10-5).
```