Added ratio support in builtin_type