我有一个 NSUInteger,我想将它除以 100。假设我在 NSUInteger 中有数字 1,我想将它除以 100 并得到 0.01 作为结果。
(float) percent / 100
百分比是一个 NSUInteger
cocoa-touch objective-c nsuinteger ios
cocoa-touch ×1
ios ×1
nsuinteger ×1
objective-c ×1