Convert price to double or approriate according to the given ratio
Check at compile time precision loss with prices