Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

fix: floating point rounding issue #95

Merged
merged 1 commit into from
Sep 28, 2014

Conversation

andreruffert
Copy link
Owner

Change getValueFromPosition value calculation.
The + this.min needs to be outside, otherwise it gets the wrong
answer unless this.min is divisible by this.step.
Big ups to @jpmckinney

Closes issue #50, #91

Change `getValueFromPosition` value calculation.
The `+ this.min` needs to be outside, otherwise it gets the wrong
answer unless `this.min` is divisible by this.step.
Big ups to @jpmckinney

Closes issue #50, #91
@andreruffert andreruffert added this to the Release v0.3.5 milestone Sep 28, 2014
andreruffert added a commit that referenced this pull request Sep 28, 2014
…issue

fix: floation point rounding issue
@andreruffert andreruffert merged commit 165d52d into develop Sep 28, 2014
@andreruffert andreruffert deleted the fix-floating-point-rounding-issue branch September 28, 2014 16:52
@andreruffert andreruffert changed the title fix: floation point rounding issue fix: floating point rounding issue Sep 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant