function get_float(in_precision int, in_scale int) do not work properly when precision is 1 and scale is 0 i.e table data type decimal(1,0)