Forum Discussion
Altera_Forum
Honored Contributor
14 years agoIf you want one digit to the right of the decimal point, then multiply the dividend by 10 prior to the division, then insert a decimal point before the last digit in teh output (or whatever).
ie use 'fixed point arithmentic'. Of course, depending on what you are doing, it might make more sense to multply by some power of 2.