Formatting the number with commas. Join Todd Perkins for an in-depth discussion in this video Formatting the number with commas, part of Programming for Non-Programmers with iOS 9 and Swift. Course Overview.
Texas became the Republic of Texas after it won it's independence from Mexico in 1836.
Mexico controlled the territory until 1836 when Texas won its  independence, becoming an independent Republic. In 1845, Texas  joined the United States as the 28th state. Th â¦ e state's annexation  set off a chain of events that caused the Mexican-American War in  1846.