Objective c division of two ints

前端 未结 4 2039
臣服心动
臣服心动 2020-12-10 07:24

I\'m trying to produce a a float by dividing two ints in my program. Here is what I\'d expect:

1 / 120 = 0.00833

Here is the code I\'m using:

4条回答
提交回复
热议问题