Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
美好的一天..只是想问一下,是否可以检查该值是否超过 2 位十进制数字..?
希望早日收到你的消息..
谢谢,
关联
您使用 round 函数并将其与原始数字进行比较。所以...
Function MoreThan2Digits(N As Single) As Boolean MoreThan2Digits = (N - Round(N, 2)) <> 0 End Function