So basically you want to round a number up.
ceilf
is what you want, it will return a float so you want to use that to one decimal place.
NSLog(@"ceilf %.1f", ceilf(1.23456));
2015-03-06 14:42:39.537 [xxxx] ceilf 2.0
1
solved Get the trim value from the double value