Steve Jackson Games - Site Navigation
Home General Info Follow Us Search Illuminator Store Forums What's New Other Games Ogre GURPS Munchkin Our Games: Home

Go Back   Steve Jackson Games Forums > Roleplaying > GURPS > GURPS Character Assistant

Reply
 
Thread Tools Display Modes
Old 03-18-2020, 08:21 PM   #1
Say, it isn't that bad!
 
Join Date: Dec 2013
Default How to raise a number by a power?

How to raise a number by a power? My first two impulses were to try:

1. X**Y
2. @pow(X, Y)

But neither seem to work.

For reference, I'm trying to implement Pyramid 3, #83: "Knowing Your Own Strength" as an override, and implementing certain parts of it seems to require exponents.
Say, it isn't that bad! is offline   Reply With Quote
Old 03-18-2020, 08:57 PM   #2
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: How to raise a number by a power?

@power(X,Y)

I think that X^Y also works, but @power() is definitely better.

There is a GCA Data File Reference available on the Docs page of Armin's Website.
__________________
Eric B. Smith GURPS Data File Coordinator
GURPSLand
The future keeps telling us what the past was about. You make the past mean different things by what you do with the time that comes after.

Last edited by ericbsmith; 03-18-2020 at 09:00 PM.
ericbsmith is offline   Reply With Quote
Old 03-18-2020, 10:53 PM   #3
Say, it isn't that bad!
 
Join Date: Dec 2013
Default Re: How to raise a number by a power?

Quote:
Originally Posted by ericbsmith View Post
@power(X,Y)

I think that X^Y also works, but @power() is definitely better.

There is a GCA Data File Reference available on the Docs page of Armin's Website.
Thanks. I dropped my PER in character creation to min-max elsewhere...

...In hindsight, combining that with "Absentminded" was not a flawless decision.
Say, it isn't that bad! is offline   Reply With Quote
Reply

Tags
datafile, formula

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Fnords are Off
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 08:32 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.