I'm not sure why we're converting to integers. Seems like a needless loss of precision. Can you fix? We can do rounding on display, but I'd like to save the highest precision value possible in the database.