Difference between revisions of "FEVAL"

From SphereWiki
Jump to: navigation, search
(Usage)
(Description)
 
Line 1: Line 1:
 
=Description=
 
=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.
+
FEval is a function that returns the given value treating the last number as a decimal and removing it, the best example is to retrieve your skill points without decimals.
  
 
=Usage=
 
=Usage=

Latest revision as of 16:53, 15 September 2022

Description

FEval is a function that returns the given value treating 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).