Rogueadyn / SaintCoinach

A .NET library written in C# for extracting game assets and reading game assets from Final Fantasy XIV: A Realm Reborn.
Do What The F*ck You Want To Public License
70 stars 99 forks source link

Use AwayFromZero for rounding maximum parameter values. #7

Closed ufx closed 9 years ago

ufx commented 9 years ago

I looked for some other potential changes such as rounding at different points in the calculation, and this definitely looks accurate. I'm fairly certain it's not Ceiling or Floor either.

Rogueadyn commented 9 years ago

And I thought that's how it rounded by default, wasn't aware it went for the nearest even number if you don't tell it otherwise. Learned something new today!