The IDE quote for forum thing is no good. Above the forum edit window and row of smileys is the # button that makes code tags. Past your code inside of those, it will be readable.
Also Arduino float and double are the same thing, 32-bit floating point good to 6 places. You need better, look into fixed-point integer with 32-bit of 64-bit integers.