ENH: Store in SQL using double precision

Better test

Style fix