Conversion of capital asset into Stock in trade

Piyush Sindwani (96 Points)

31 October 2019  
If during the year a capital asset is converted into stock in trade, then at WHAT VALUE same shall be deducted from Tax block. Please also quote the relevant section of Income tax act.