Works with decimals