Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Banana |
So to clarify this is what I want the function to do
f(x) = 5 * 1.1^x
and this is what I have right now:
coincount = coincount * pow(1.1,x)
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Banana |
So to clarify this is what I want the function to do
f(x) = 5 * 1.1^x
and this is what I have right now:
coincount = coincount * pow(1.1,x)
Reply From: | aidave |
The actual code for function f(x) would be:
func coinpow(x):
return 5 * pow(1.1, x)
A good awnser. Here is the documentation on the pow
function.
godot_dev_ | 2023-04-22 14:25