fract type casting