update query

to handle calculation for AT detaprtment
rounding for extremely small number

expand decimal type to full capacity to handle extremely small number