skip to main
|
skip to sidebar
..:::Trio Hasim:::..
Display number value to the max number of decimal places
iPhone SDK Tips & Tricks
float x = 1.23;
NSLog(@"%g", x); //1.23
NSLog(@"%f", x); //1.23000000
Newer Post
Older Post
Home
Trio Hasim Family
KucingItem
KucingLorenk
Blog Archive
Mar
(1)
Feb
(2)
Jan
(1)
Dec
(3)
Nov
(1)
May
(1)
Apr
(1)
Jan
(5)
Dec
(4)
Nov
(1)
Oct
(1)
Sep
(2)
Aug
(1)
Jul
(4)
Apr
(3)
Mar
(5)
Feb
(2)
Jan
(3)
Dec
(2)
Oct
(1)
Sep
(2)
Aug
(4)
Jul
(7)
Jun
(9)
May
(7)
Apr
(5)
Mar
(7)
Feb
(2)
Jan
(1)
Dec
(7)
Nov
(2)
Sep
(4)
Aug
(2)
Jul
(4)
Jun
(2)
May
(2)
Apr
(6)
Mar
(3)
Feb
(1)
Jan
(14)
Dec
(2)
Nov
(4)
Oct
(3)
Sep
(1)
Aug
(3)
Jul
(3)
Jun
(1)
May
(4)
Apr
(48)
Nov
(1)