set result = CAST(0.47 AS DECIMAL(3,2));
select '0.47' as expected, $result as actual;
