Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculator fixes #656

Merged
merged 4 commits into from
Jul 22, 2016
Merged

Calculator fixes #656

merged 4 commits into from
Jul 22, 2016

Conversation

OAGr
Copy link
Member

@OAGr OAGr commented Jul 21, 2016

  • Made input descriptions use Markdown.
  • Added toggle for a stats description for the outputs.

toggle

const ResultSection = ({length, mean, adjustedConfidenceInterval}) => (
length === 1 ? <PrecisionNumber value={mean} precision={6}/> : <RangeDisplay range={adjustedConfidenceInterval}/>
const ResultSection = ({length, mean, percentiles}) => (
length === 1 ? <PrecisionNumber value={mean} precision={6}/> : <RangeDisplay low={percentiles[5]} high={percentiles[95]}/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants