HI,i was trying to do the following.I tried but cant figure out my error.I want the output to be 123.456
Code:
#include <stdio.h>

int main(void){

	unsigned int a=123456;
	double b=a/1000;
	
	printf("&#37;d",b); //123.456 output wanted
}

Do help..