impl to_decimal for u8,u16...i8,i16...