Fix unused parameter 'textView' warning
Fix implicit conversion turns floating-point number into integer warning