Flee
Flee copied to clipboard
no integer divisions should be allowed by default
this would help a lot, If the following code is by default set to be true
context.Options.IntegersAsDoubles = true;
I know this is years old but thank you @TheOOnewbie Had a lot of trouble understanding strange behavior in my app until this post clued me in, agreed it should be the default.
with IntegersAsDoubles = false; (the default)
5*1/2 result is 2
5*(1/2) result is 0
with IntegersAsDoubles = true;
5*1/2 result is 2.5
5*(1/2) result is 2.5