Spark cast decimal to double. g. I want the data type to be Decimal(18,2...

Spark cast decimal to double. g.  I want the data type to be Decimal(18,2...Spark cast decimal to double. g.  I want the data type to be Decimal(18,2...