Sollicitatievraag bij MySpace

What's 5/2 in MySQL ?

Antwoorden op sollicitatievragen

Anoniem

28 apr 2009

2.5 is wrong according to MySpace

Anoniem

13 mrt 2010

may they expect it to be 2.5000 ?

Anoniem

24 jul 2011

5/2 = 2 it will assume integer division

Anoniem

9 jan 2015

You have 5 digits of which 2 are decimals Ex: 123.45