Schedule D capital gain and loss calculations are different between federal and CA state tax due to rounding

It seems CA state tax is rounding all my capital gain/loss transactions and it is creating difference in total amount between Federal and Stater Schedule D, any way to fix it?