I am trying to import math class to my main class that I am working on. Im trying to use math.floor() method and I just cant find it! apparently its in Top Level Package, how can I import that? I want to use it in an outside class
I'm not sure that is required... Are you using a syntax checker? Have you tried "Math.floor()" instead of "math.floor()".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.