encode decimal and add seed data