Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

printing floating point

Hi, is there any ways to print float number in Nios II? Example:

a = 100, b = 195

c = (b-a)/100, so c = 0.95

so, how to print c = 0.95? because when i print, the answer is 0.

11 Replies