Input value to the procedure (Float) = 999999.98999999999
Inside the procedure, I am converting the float
to VARCHAR(15)
, While conversion the value become 1000000
but is need an Output = 999999.99
.
Not able to use Substring()
, Charindex()
.
Please help me.