Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for a simple math formula
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Looking for a simple math formula
Miscellaneous
Thread ID:
00683042
Message ID:
00683042
Views:
66
Does anyone know a simple formuala to do the following:

1 = 1
2 = 3 (1+2)
3 = 6 (1+2+3)
4 = 10 (1+2+3+4)
5 = 15 (1+2+3+4+5)
.
.
.


So if given the number 5, the formula would return the total addition, 15. Thanks in advance for any ideas.

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Next
Reply
Map
View

Click here to load this message in the networking platform