8
Actually, a more elegant way of doing this is just using the percentage() function which is built into LESS.
@height : 50px;
@wrap : 25px;
@bgsize : percentage(@wrap/@height);
// @bgsize == 50%
Perhaps this was added in a newer version of LESS.