Difference between revisions of "FEVAL"
From SphereWiki
(Created page with "=Description= FEval is a function that returns the given value threating the last number as a decimal and removing it, the best example is to retrieve your skill points withou...") |
(→Usage) |
||
| Line 6: | Line 6: | ||
[function ShowAlchemy] | [function ShowAlchemy] | ||
alchemy=99.9 | alchemy=99.9 | ||
| − | say Alchemy is: <feval <alchemy>> // This will say 'Alchemy is: 99', removing the last number (.9). | + | say Alchemy is: <feval <alchemy>> // This will say 'Alchemy is: 99', removing the last number (.9).</spherescript> |
Revision as of 20:59, 28 November 2013
Description
FEval is a function that returns the given value threating the last number as a decimal and removing it, the best example is to retrieve your skill points without decimals.
Usage
[function ShowAlchemy] alchemy=99.9 say Alchemy is: <feval <alchemy>> // This will say 'Alchemy is: 99', removing the last number (.9).