Despite of rAthenas' scripts not supporting decimals, I was wondering if there's a way to, for example, write a formula in C, compile it, and then call this C script inside a rAthena script (or must I do everything in C?). If you guys know any other way, or have any other suggestions on using decimals in rAthena, I'd love to hear. Thanks for the support!
EDIT: If I, for example, assign a formula to a variable (even if it contains divisions), and then multiply it by 10000000 (assuming there's a limit to the decimals), would it work properly or would I have any problem (maybe overflow)? Example:
Question
joao
Despite of rAthenas' scripts not supporting decimals, I was wondering if there's a way to, for example, write a formula in C, compile it, and then call this C script inside a rAthena script (or must I do everything in C?). If you guys know any other way, or have any other suggestions on using decimals in rAthena, I'd love to hear. Thanks for the support!
EDIT: If I, for example, assign a formula to a variable (even if it contains divisions), and then multiply it by 10000000 (assuming there's a limit to the decimals), would it work properly or would I have any problem (maybe overflow)? Example:
$@formula = (x/7)*100000000
Edited by joao2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.