|
| 04 Feb 2016 12:15 PM |
If it's not I can do...
local n = 100000000 (1+(1/n))^n
but, it'd make it'd make my life easier if math. e is a thing. (I'm on a phone I can't check myself) |
|
|
| Report Abuse |
|
|
iJarvis
|
  |
| Joined: 12 May 2015 |
| Total Posts: 105 |
|
|
| 04 Feb 2016 12:21 PM |
math.exp(x)
returns e^x
--iJarvis, first account from 2011 |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2016 12:49 PM |
local e = 2.718281828459 local pi = 3.14159265359 local tau = 6.28318530718 enjoy :) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 04 Feb 2016 01:23 PM |
no.
local pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951941511609433057270365759591953092186117381932611
Pluss some more k decimals
|
|
|
| Report Abuse |
|
|
iMung
|
  |
| Joined: 11 Jul 2013 |
| Total Posts: 328 |
|
|
| 04 Feb 2016 01:32 PM |
discount copy and paste.
Forum:
var = 1 -- whatever you want
math.exp(var) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 04 Feb 2016 01:53 PM |
| Happywalker, adding more decimal points after a certain point is NOT going to change anything. |
|
|
| Report Abuse |
|
|
| |
|