Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Factors
Message
 
 
To
07/02/2008 10:53:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01290395
Message ID:
01290428
Views:
10
Another way with different result
? ROUND(SQRT(lnNumber),0), CEILING(lnNumber/ROUND(SQRT(lnNumber),0))
>
>Thats pretty close and works most of the time. 7 does not work. But I could double check the lower x higher factors and if the result is under the original number, increment the lower value. What do you think?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform