Update should.js #112

Closed
wants to merge 2 commits into from

2 participants

@skeggse

Add Object.should.approximate(value, [precision]) for checking if two floating-point numbers approximate each other.

skeggse added some commits May 14, 2013
@skeggse skeggse Update should.js
Add Object.should.approximate(value, [precision]) for checking if two floating-point numbers approximate each other
f65f9f2
@skeggse skeggse Update should.test.js
Add tests for Object.should.approximate
a064592
@skeggse

@visionmedia have you looked at this?

@btd
Collaborator
btd commented Sep 9, 2013

Hi @skeggse , there is already such function, but it was undocumented. I added tests for it and updated readme.

@btd btd closed this Sep 9, 2013
@skeggse

Wonderful, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment