skip to main
|
skip to sidebar
..:::Trio Hasim:::..
Convert float to int
iPhone SDK Tips & Tricks
int myInteger = (int)(myFloat * 3.280839895 + 0.5);
float -> 23.0000
int -> 23
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)