Skip to content

Commit

Permalink
fix a broken example of function to
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Feb 23, 2023
1 parent f865658 commit 9bacfeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/function/unit/to.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export const createTo = /* #__PURE__ */ factory(name, dependencies, ({ typed, ma
*
* Examples:
*
* math.to(math.unit('2 inch'), 'cm') // returns Unit 5.08 cm
* math.to(math.unit('2 inch'), math.unit(null, 'cm')) // returns Unit 5.08 cm
* math.to(math.unit(16, 'bytes'), 'bits') // returns Unit 128 bits
* math.to(math.unit('2 inch'), 'cm') // returns Unit 5.08 cm
* math.to(math.unit('2 inch'), math.unit('cm')) // returns Unit 5.08 cm
* math.to(math.unit(16, 'bytes'), 'bits') // returns Unit 128 bits
*
* See also:
*
Expand Down

0 comments on commit 9bacfeb

Please sign in to comment.