The math randomseed function sets a seed for the pseudo random generator.
Gearswap lua math floor.
Takes options inventory all sets xml mainjob mainsubjob and file some file name most options also take the optional overwrite command at the end.
Ffxi gearswap lua s for the jobs i play.
Equal seeds produce equal sequences of numbers.
Contribute to sammehffxi ffxiaddons development by creating an account on github.
Exports your currently equipped gear inventory or all the items in your current lua files sets into gearswap lua or spellcast xml format.
Contribute to alanwarren gearswap development by creating an account on github.
Basically math floorand other math functions take an argument and convert it to a different number using math math floor number removes the decimal on a number to give you a whole number math floor 4 71 gives you 4 math floor 4 71 0 5 rounds up from 5 and gives us 5.
Print math floor 12 5928 the code above prints 12.
In other case lua casts upper into an integer sometimes giving math floor upper and others math ceil upper with unexpected results the same for lower.
What do you do to make it print 12 5.
To round up properly from 5 like most people round always use math floor.
Dismiss join github today.
Math round and math rounding do not exist.