Draw Nth root
BlitzMax Forums/BlitzMax Programming/Draw Nth root| 
 | ||
| I need more than Sqr, i need the 3rd root. How can i get it? | 
| 
 | ||
| Ask google? "3rd root of 74088" :-) | 
| 
 | ||
| Oh that was too helpful thank you. Seriously, a bmax command might be even more helpful! | 
| 
 | ||
| Square root: number^(1/2) 3rd root: number^(1/3) 4th root: number^(1/4) 5th root: number^(1/5) etc... | 
| 
 | ||
| And to wrap it up... Function Root:float(value:float,root:float=2) return value^(1.0/root) End Function | 
| 
 | ||
| That should be :Double, not :Float. | 
| 
 | ||
| Thank you for your answers. Must have been drunken when i posted this question, thanks. |