DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
c float remove trailing 0
double x = 4.300; double e = 7.34200; printf("%g %g", x, e); // will print 4.3 and then 7.342
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#float
#remove
#trailing
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit