i am writing a code to convert c->f and i need to show the value after decimal.
how do i represent it it assembly language. i am supposed to write a program to convert celcius to farenhiet. plzz help
So what's the problem? Presumably you have some prior coursework underpinning the assignment.
Which architecture are we talking about? Assembler is sufficiently different that this is an important detail to provide when asking a question.
You could represent 123.45 F as 12345
int f = 12345; printf("%3d.%02d\n", f / 100, f % 100);