I am trying to trim zeros after a decimal point as below but it\'s not giving desired result.
trig = [currentVal doubleValue]; trig = trig/100; NSNumberForma
This works
display.text = [@(trig) stringValue];