0

[SOLVED] How use Cecil function in Swift?

How i can use the function ceil in swift https://code.sololearn.com/cDSeHa5FzhVt/?ref=app

8th Sep 2021, 3:10 AM
Benjamin Salas
Benjamin Salas - avatar
3 odpowiedzi
+ 3
Or you can use its in-built function rounded(.up) print(6.67.rounded(.up))
8th Sep 2021, 3:40 AM
Simba
Simba - avatar
+ 2
Use import Foundation; Instead of Use Math
8th Sep 2021, 3:29 AM
Pariket Thakur
Pariket Thakur - avatar
+ 1
Thank you Simba and HrCoder
8th Sep 2021, 4:06 AM
Benjamin Salas
Benjamin Salas - avatar