Skip to content
Open
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
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/error/tools/msg2id/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* var msg2id = require( '@stdlib/error/tools/msg2id' );
*
* var v = msg2id( 'invalid option. `%s` option must be an array. Option: `%s`.' );
* // returns '8t'
* // returns 8Z
*/

// MODULES //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ tape( 'the function supports rounding a numeric value to a desired number of dec
tape( 'due to floating-point rounding error, rounding a numeric value can result in unexpected behavior', function test( t ) {
var x;

x = 0.2 + 0.1; // => 0.30000000000000004
x = 0.2 + 0.1; // returns 0.30000000000000004
t.strictEqual( roundb( x, -16, 10 ), 0.3000000000000001, 'equals 0.3000000000000001 and not 0.3' );

x = 24.616838129811768;
Expand Down
Loading