The purpose of this study is to assess the safety, tolerability, and efficacy of the addition of canagliflozin relative to the addition of placebo in patients with inadequate glycemic control on metformin alone or in combination with a sulphonylurea.