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

Small changes to doc comments #390

Merged
merged 2 commits into from
Oct 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Andrei Alecu https://github.com/andreialecu
badplum (https://github.com/badplum)
Benedikt Huss (https://github.com/ben305)
Benjamin Van Ryseghem <benjamin@vanryseghem.com> (https://benjamin.vanryseghem.com)
Colin Rudd (https://github.com/cnrudd)
Dan Ristic (https://github.com/dristic)
Dave Clayton (https://github.com/davedx)
Dieter Luypaert (https://github.com/moeriki)
Expand Down
4 changes: 2 additions & 2 deletions src/formatting.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,9 @@ function toFixed(value, precision) {
*
* @param {string} output - output being build in the process of formatting
* @param {number} value - number being currently formatted
* @param {boolean} optionalMantissa - `true` if the mantissa is omitted when it's only zeroes
* @param {boolean} optionalMantissa - if `true`, the mantissa is omitted when it's only zeroes
* @param {number} precision - desired precision of the mantissa
* @param {boolean} trim - desired precision of the mantissa
* @param {boolean} trim - if `true`, trailing zeroes are removed from the mantissa
* @return {string}
*/
function setMantissaPrecision(output, value, optionalMantissa, precision, trim) {
Expand Down