Skip to content
Open
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
4 changes: 2 additions & 2 deletions src/util/number.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export function getAcceptableTickPrecision(

/**
* Get a data of given precision, assuring the sum of percentages
* in valueList is 1.
* in valueList is 100 when the total is nonzero.
* The largest remainder method is used.
* https://en.wikipedia.org/wiki/Largest_remainder_method
*
Expand All @@ -391,7 +391,7 @@ export function getPercentWithPrecision(valueList: number[], idx: number, precis

/**
* Get a data of given precision, assuring the sum of percentages
* in valueList is 1.
* in valueList is 100 when the total is nonzero.
* The largest remainder method is used.
* https://en.wikipedia.org/wiki/Largest_remainder_method
*
Expand Down