As explained to me many moons ago. SAE viscocities are based on the number of recorded drips through a standard measured orifice in a set time for that fluid. The two figures are for standard low and high temp recordings.
So the difference between 10w40 and 15w40 is that the latter flows more freely in the low temp portion of the test only.