Tag: double

57 votes
7 answers
2.5K views
How can I divide two integers to get a double?

How do I divide two integers to get a double?

avatar
Santiago
0 1 0 9
asked 07 September, 2021
61 votes
29 answers
1.6K views
Rounding a double value to x number of decimal places in swift

Can anyone tell me how to round a double value to x number of decimal places in Swift? I have: var totalWor

avatar
Ali
0 1 0 9
asked 07 September, 2021