I had a swift compiler errors of this type : "Cannot find type 'int' in scope" here is my code .
Any idea? thanks
I had a swift compiler errors of this type : "Cannot find type 'int' in scope" here is my code .
Any idea? thanks
Welcome to the forum.
The type is Int (with Uppercase), not int. Swift is case sensitive.
You may have a typo: rouned and not rounded.
If that solves your issue, don't forget to close the thread.