We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b3be52 commit de7865cCopy full SHA for de7865c
docs/datatypes/index.md
@@ -37,9 +37,11 @@ math.add(300000000000000000n, 1n) // 300000000000000001n
37
// use Fractions
38
math.add(math.fraction(1), math.fraction(3)) // Fraction, 0.(3)
39
40
-// use strings
41
-math.add('hello ', 'world') // 'hello world'
42
-math.max('A', 'D', 'C') // 'D'
+// use strings containing numbers
+math.add('2', '3') // 5
+math.concat('2', '3') // '23'
43
+math.max('3', '2', '7') // 7
44
+math.compareNatural('10', '2') // 1
45
46
// use complex numbers
47
const a = math.complex(2, 3) // 2 + 3i
0 commit comments