What you wrote was, in vague pseudo-code, Convert.ToString( (Integer 1) / (Integer 7) ). In integer math, the only possible answer is a while number. Since the result, 0.1428, would be truncated to the whole number, 0 is what you got.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008