Sorry Darth that isn't true.
C# code (from a button function):
private void button1_Click(object sender, System.EventArgs e)
{
int a = 10;
int b = 4;
float c = a/b;
label1.Text = c.ToString();
}
c will always return a 2 (and no, ToString() doesn't perform any modification to it).
The same code in DB Classic returns a 2.
C++ returns a 2.
Show me a language that does it differently please! This is NOT a bug.
Cheers,
Rich
"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming