Cast the border/unborder width input to CGFloat