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 0894061 commit c303837Copy full SHA for c303837
test.js
@@ -74,12 +74,14 @@ test_convert('exotic notations (s)', () => {
74
assert.is(convert('2e3s'), 2_000_000)
75
assert.is(convert('+1e1s'), 10_000)
76
assert.is(convert('-3e5s'), -300_000_000)
77
+ assert.is(convert('-3.4e-2s'), -34)
78
})
79
80
test_convert('exotic notations (ms)', () => {
81
assert.is(convert('2e3ms'), 2_000)
82
assert.is(convert('+1e1ms'), 10)
83
assert.is(convert('-3e5ms'), -300_000)
84
+ assert.is(convert('-3.4e-2ms'), -.034)
85
86
87
test_convert('converts `var(--foo)`', () => {
0 commit comments