回復 Offer
已經搵到計數plugin (math)
雖然得14個function但對我已經足夠有餘 ...
quofei 發表於 2010-2-28 16:50 
Functions
---------
dll contains 14 functions
in each one you can get a short function description if you pass as param1 "about" and as param2 "function"
Function 1
addition, parameters 2 and 3 will give a result of 5
Function 2
subtraction, parameters 2 and 3 will give a result of -1
Function 3
multiplication, parameters 2 and 3 will give a result of 6
Function 4
division, parameters 2 and 3 will give a result of 0.666666666666666667
Function 5
percentage, parameters 2 and 3 will give a result of 66.666666666666666667
Function 6
square root, parameter 16 and any will give a result of 4
Function 7
raise to power, parameters 2 and 3 will give a result of 8 (limited to power of 20)
Function 8
absolute, parameter -50 will give a result of 50
Function 9
remove decimal, parameter 2.8972389283 will give a result of 2 (this is not a round!)
Function 10
date difference, parameters m, now and 1/1/2050 (three parameters required) will give a result of the total months from now to 1/1/2050
look to extra documentation for more
Function 11
round, it will round the a decimal number parameters 2.8888888 and 0 will give a result of 3
look to extra documentation for more
Function 12
trigonometry functions, parameters 3 and cos will return the cosine of 3
look to extra documentation for more
Function 13
random number, generates a random number seed
look to extra documentation for more
Function 19
convert, convert miles to kilometers, inches to centimenters, yards to meters and many more
look to extra documentation for more
Function 20
about function, returns credits |