Calculation should respect locale settings

Apparently I was not the first one to be bitten by that:

Seems to be a limit to KM itself. (cf. post 9)