Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

print only last 3 number float in c

//print 3 numbers after . in your float
printf("%.3f", myFloat);
 
PREVIOUS NEXT
Tagged: #print #number #float
ADD COMMENT
Topic
Name
9+6 =