Truncate, Ratio and percentage functions