Convert price to double or approriate according to the given ratio

Mainly, it consisted in using double instead of float.
Check at compile time precision loss with prices (double -> float for instance)